Skip to content

Commit

Permalink
Upgrade to SBE 1.31.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vontikov committed May 12, 2024
1 parent 609b6f7 commit 232884f
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
```

Expand All @@ -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"
}
}
Expand Down
6 changes: 6 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v0.0.9
------

- Upgrade to SBE 1.31.1
- Disable schema validation by default

v0.0.8
------

Expand Down
8 changes: 0 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
artifact_name=sbe-generator-plugin
artifact_group=com.github.vontikov
artifact_version=0.0.8
artifact_version=0.0.9
4 changes: 2 additions & 2 deletions src/main/groovy/com/github/vontikov/Const.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'

Expand Down
3 changes: 3 additions & 0 deletions src/main/groovy/com/github/vontikov/SbeGeneratorPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ class SbeGeneratorPlugin implements Plugin<Project> {
main = 'uk.co.real_logic.sbe.SbeTool'
args = input
classpath = sbeClasspath

println "JavaExec systemProperties: ${props}"
println "JavaExec args: ${input}"
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/projects/generator/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
4 changes: 4 additions & 0 deletions src/test/resources/projects/validator/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
plugins {
id 'com.github.vontikov.sbe-generator-plugin'
}

sbeGenerator {
shouldValidate = true
}

0 comments on commit 232884f

Please sign in to comment.