@@ -8,17 +8,17 @@ buildscript {
88 maven { url ' https://oss.sonatype.org/content/repositories/snapshots' }
99 }
1010 dependencies {
11- classpath(' com.diffplug.spotless:spotless-plugin-gradle:3.8 .0' )
11+ classpath(' com.diffplug.spotless:spotless-plugin-gradle:3.10 .0' )
1212 classpath(' com.github.ben-manes:gradle-versions-plugin:0.17.0' )
13- classpath(' org.ajoberstar:gradle-git-publish:0.3.2 ' )
13+ classpath(' org.ajoberstar:gradle-git-publish:0.3.3 ' )
1414 classpath(' org.ajoberstar:gradle-git:1.7.2' )
1515 classpath(' org.junit.platform:junit-platform-gradle-plugin:1.0.1' )
1616 classpath(" org.jetbrains.kotlin:kotlin-gradle-plugin:${ kotlinVersion} " )
1717 }
1818}
1919
2020plugins {
21- id ' com.gradle.build-scan' version ' 1.11 '
21+ id ' com.gradle.build-scan' version ' 1.12.1 '
2222 id ' net.nemerosa.versioning' version ' 2.6.1'
2323}
2424
@@ -117,7 +117,7 @@ allprojects { subproj ->
117117 if (project. hasProperty(' enableJaCoCo' )) {
118118 apply plugin : " jacoco"
119119 jacoco {
120- toolVersion = ' 0.8.0 '
120+ toolVersion = ' 0.8.1 '
121121 }
122122 }
123123
@@ -207,7 +207,7 @@ allprojects { subproj ->
207207 }
208208
209209 checkstyle {
210- toolVersion = ' 8.7 '
210+ toolVersion = ' 8.8 '
211211 configDir = rootProject. file(' src/checkstyle' )
212212 }
213213 checkstyleMain {
@@ -345,8 +345,9 @@ subprojects { subproj ->
345345 }
346346
347347 def isSnapshot = project. version. contains(' SNAPSHOT' )
348- def isContinuousIntegrationEnvironment = Boolean . parseBoolean(System . getenv(" JITPACK" ))
349- def signArtifacts = ! (isSnapshot || isContinuousIntegrationEnvironment)
348+ def isContinuousIntegrationEnvironment = Boolean . parseBoolean(System . getenv(' CI' ))
349+ def isJitPackEnvironment = Boolean . parseBoolean(System . getenv(' JITPACK' ))
350+ def signArtifacts = ! (isSnapshot || isContinuousIntegrationEnvironment || isJitPackEnvironment)
350351
351352 afterEvaluate {
352353 if (signArtifacts && uploadArchives. enabled) {
@@ -533,11 +534,11 @@ subprojects { subproj ->
533534 dependsOn = [versionedProject. classes]
534535 doLast {
535536 project. exec {
536- executable ' jar '
537+ executable " ${ System.properties['java.home'] } /bin/jar "
537538 args = [' --version' ]
538539 }
539540 project. exec {
540- executable ' jar '
541+ executable " ${ System.properties['java.home'] } /bin/jar "
541542 args = [' --update' ,' --file' , archivePath,
542543 ' --release' , version,
543544 ' -C' , versionedProject. compileJava. destinationDir,
0 commit comments