Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
- Made less versions hardcoded
- Set to SNAPSHOT
  • Loading branch information
lessthanoptimal committed May 30, 2023
1 parent eb19558 commit 78a3bde
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ allprojects {
apply plugin: 'com.peterabeles.gversion'

group = 'org.georegression'
version = '0.26.1'

createVersionFile.enabled = false // run only once. enabled in types
version = '0.26.2-SNAPSHOT'
}

project.ext.errorprone_version = '2.11.0'
project.ext.nullaway_version = '0.9.5'
project.ext.lombok_version = '1.18.24'
project.ext.jabel_version = '1.0.0'
project.ext.junit_version = '5.8.2'
project.ext.guava_version = '31.1-jre'
project.ext.jetnull_version = '23.0.0'
project.ext.jsr250_version = '1.0'
project.ext.jsr305_version = '3.0.2'

subprojects {
apply plugin: 'java-library'
Expand Down Expand Up @@ -48,10 +50,10 @@ subprojects {
// To make ErrorProne and Kotlin plugins happy
configurations.configureEach {
resolutionStrategy {
force 'org.jetbrains:annotations:23.0.0'
force 'com.google.guava:guava:31.0.1-jre'
force "org.jetbrains:annotations:$project.jetnull_version"
force "com.google.guava:guava:$project.guava_version"
force "com.google.errorprone:error_prone_annotations:$project.errorprone_version"
force 'com.google.code.findbugs:jsr305:3.0.2'
force "com.google.code.findbugs:jsr305:$project.jsr305_version"
force 'org.checkerframework:checker-qual:2.10.0'
}
}
Expand Down Expand Up @@ -86,8 +88,8 @@ subprojects {
dependencies {
implementation (group: 'org.ddogleg', name: 'ddogleg', version: '0.23')

compileOnly 'org.jetbrains:annotations:20.0.0' // @Nullable
compileOnly 'javax.annotation:jsr250-api:1.0' // @Generated
compileOnly "org.jetbrains:annotations:$project.jetnull_version" // @Nullable
compileOnly "javax.annotation:jsr250-api:$project.jsr250_version" // @Generated
testCompileOnly project.sourceSets.main.compileClasspath

testImplementation( "org.junit.jupiter:junit-jupiter-api:$project.junit_version" )
Expand Down

0 comments on commit 78a3bde

Please sign in to comment.