@@ -11,20 +11,20 @@ plugins {
1111 id ' maven-publish'
1212 id ' signing'
1313 id ' groovy'
14- id ' biz.aQute.bnd.builder' version ' 6.2 .0'
14+ id ' biz.aQute.bnd.builder' version ' 7.1 .0'
1515 id ' io.github.gradle-nexus.publish-plugin' version ' 2.0.0'
1616 id ' com.github.ben-manes.versions' version ' 0.53.0'
1717 id " me.champeau.jmh" version " 0.7.3"
1818 id " net.ltgt.errorprone" version ' 4.3.0'
19- id " io.github.reyerizo.gradle.jcstress" version " 0.8.15 "
19+ id " io.github.reyerizo.gradle.jcstress" version " 0.9.0 "
2020
2121 // Kotlin just for tests - not production code
22- id ' org.jetbrains.kotlin.jvm' version ' 2.2.20 '
22+ id ' org.jetbrains.kotlin.jvm' version ' 2.2.21 '
2323}
2424
2525java {
2626 toolchain {
27- languageVersion = JavaLanguageVersion . of(17 )
27+ languageVersion = JavaLanguageVersion . of(21 )
2828 }
2929}
3030
@@ -81,13 +81,15 @@ repositories {
8181
8282jar {
8383 manifest {
84- attributes(' Automatic-Module-Name' : ' org.dataloader' ,
85- ' -exportcontents' : ' org.dataloader.*' ,
86- ' -removeheaders' : ' Private-Package' )
84+ attributes(' Automatic-Module-Name' : ' org.dataloader' )
8785 }
88- bnd('''
86+ bundle {
87+ bnd('''
88+ -exportcontents: org.dataloader.*
89+ -removeheaders: Private-Package
8990Import-Package: org.jspecify.annotations;resolution:=optional,*
9091''' )
92+ }
9193}
9294
9395dependencies {
@@ -99,7 +101,7 @@ dependencies {
99101 jmh ' org.openjdk.jmh:jmh-generator-annprocess:1.37'
100102
101103 errorprone ' com.uber.nullaway:nullaway:0.12.10'
102- errorprone ' com.google.errorprone:error_prone_core:2.42 .0'
104+ errorprone ' com.google.errorprone:error_prone_core:2.43 .0'
103105
104106 // just tests
105107 testImplementation ' org.jetbrains.kotlin:kotlin-stdlib-jdk8'
@@ -141,10 +143,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
141143 from javadoc. destinationDir
142144}
143145
144- artifacts {
145- archives sourcesJar
146- archives javadocJar
147- }
146+
148147
149148testing {
150149 suites {
@@ -177,9 +176,9 @@ publishing {
177176 publications {
178177 graphqlJava(MavenPublication ) {
179178 from components. java
180- groupId ' com.graphql-java'
181- artifactId ' java-dataloader'
182- version project. version
179+ groupId = ' com.graphql-java'
180+ artifactId = ' java-dataloader'
181+ version = project. version
183182
184183 artifact sourcesJar
185184 artifact javadocJar
@@ -237,7 +236,7 @@ nexusPublishing {
237236}
238237
239238signing {
240- required { ! project. hasProperty(' publishToMavenLocal' ) }
239+ required = { ! project. hasProperty(' publishToMavenLocal' ) }
241240 def signingKey = System . env. MAVEN_CENTRAL_PGP_KEY
242241 useInMemoryPgpKeys(signingKey, " " )
243242 sign publishing. publications
0 commit comments