diff --git a/README.md b/README.md index 1fbd072..785d0d1 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Usage ```Groovy plugins { - id "com.github.vontikov.sbe-generator-plugin" version "0.0.8" + id "com.github.vontikov.sbe-generator-plugin" version "0.0.9" } ``` @@ -38,7 +38,7 @@ buildscript { } } dependencies { - classpath "com.github.vontikov:sbe-generator-plugin:0.0.8" + classpath "com.github.vontikov:sbe-generator-plugin:0.0.9" } } diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 62dbb10..ef9f21c 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,3 +1,9 @@ +v0.0.9 +------ + + - Upgrade to SBE 1.31.1 + - Disable schema validation by default + v0.0.8 ------ diff --git a/build.gradle b/build.gradle index cdca691..e5a75b6 100644 --- a/build.gradle +++ b/build.gradle @@ -57,14 +57,6 @@ configurations { } dependencies { -// implementation 'org.codehaus.groovy:groovy-all:3.0.8' -// implementation gradleApi() -// implementation localGroovy() - -// testImplementation 'junit:junit:4.13.2' -// testImplementation 'org.hamcrest:hamcrest-all:1.3' - -// testImplementation 'org.junit.jupiter:junit-jupiter:5.9.3' testImplementation(platform('org.junit:junit-bom:5.10.0')) testImplementation('org.junit.jupiter:junit-jupiter') testImplementation 'org.hamcrest:hamcrest-library:2.2' diff --git a/gradle.properties b/gradle.properties index 99e903c..18ffe25 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ artifact_name=sbe-generator-plugin artifact_group=com.github.vontikov -artifact_version=0.0.8 +artifact_version=0.0.9 diff --git a/src/main/groovy/com/github/vontikov/Const.groovy b/src/main/groovy/com/github/vontikov/Const.groovy index 73e2b4e..2e739f8 100644 --- a/src/main/groovy/com/github/vontikov/Const.groovy +++ b/src/main/groovy/com/github/vontikov/Const.groovy @@ -2,7 +2,7 @@ package com.github.vontikov final class Const { - static final DEFAULT_SBE_VERSION = '1.29.0' + static final DEFAULT_SBE_VERSION = '1.31.1' static final PLUGIN_ID = 'sbe.generator' static final PLUGIN_GROUP = 'SBE Generator' @@ -45,7 +45,7 @@ final class Const { static final DEFAULT_JAVA_SOURCE_COMPATIBILITY = '1.8' static final DEFAULT_JAVA_TARGET_COMPATIBILITY = '1.8' - static final DEFAULT_SHOULD_VALIDATE = true + static final DEFAULT_SHOULD_VALIDATE = false static final PROJECT_PROPERTY_SBE_VERSION = 'sbe_version' diff --git a/src/main/groovy/com/github/vontikov/SbeGeneratorPlugin.groovy b/src/main/groovy/com/github/vontikov/SbeGeneratorPlugin.groovy index b147318..d5f440a 100644 --- a/src/main/groovy/com/github/vontikov/SbeGeneratorPlugin.groovy +++ b/src/main/groovy/com/github/vontikov/SbeGeneratorPlugin.groovy @@ -98,6 +98,9 @@ class SbeGeneratorPlugin implements Plugin { main = 'uk.co.real_logic.sbe.SbeTool' args = input classpath = sbeClasspath + + println "JavaExec systemProperties: ${props}" + println "JavaExec args: ${input}" } } diff --git a/src/test/resources/projects/generator/build.gradle b/src/test/resources/projects/generator/build.gradle index 80e8782..91b696c 100644 --- a/src/test/resources/projects/generator/build.gradle +++ b/src/test/resources/projects/generator/build.gradle @@ -2,5 +2,5 @@ plugins { id 'com.github.vontikov.sbe-generator-plugin' } -group = 'test-group' -version = '1.2.3' +group = 'test-group' +version = '1.2.3' diff --git a/src/test/resources/projects/validator/build.gradle b/src/test/resources/projects/validator/build.gradle index 4d7995a..5e5373b 100644 --- a/src/test/resources/projects/validator/build.gradle +++ b/src/test/resources/projects/validator/build.gradle @@ -1,3 +1,7 @@ plugins { id 'com.github.vontikov.sbe-generator-plugin' } + +sbeGenerator { + shouldValidate = true +}