@@ -60,8 +60,8 @@ subprojects {
60
60
compile " org.bouncycastle:bcprov-jdk15on:1.69"
61
61
compileOnly " com.github.spotbugs:spotbugs-annotations:4.1.2"
62
62
63
- testCompile " com.squareup.okhttp3:mockwebserver:4.8.1"
64
- testCompile " junit:junit:4.13"
63
+ testImplementation " com.squareup.okhttp3:mockwebserver:4.8.1"
64
+ testImplementation " junit:junit:4.13"
65
65
}
66
66
67
67
configurations. all() {
@@ -129,7 +129,6 @@ subprojects {
129
129
130
130
project(' :api' ) {
131
131
apply plugin : ' java'
132
- apply plugin : ' maven'
133
132
apply plugin : ' maven-publish'
134
133
apply plugin : ' signing'
135
134
apply plugin : ' com.github.johnrengelman.shadow'
@@ -147,7 +146,7 @@ project(':api') {
147
146
jar {
148
147
manifest {
149
148
attributes(' Implementation-Title' : archivesBaseName,
150
- ' Implementation-Version' : version ,
149
+ ' Implementation-Version' : archiveVersion . get() ,
151
150
' Built-By' : ' MinIO, inc' ,
152
151
' Built-JDK' : System . getProperty(' java.version' ),
153
152
' Source-Compatibility' : sourceCompatibility,
@@ -244,7 +243,6 @@ project(':api') {
244
243
245
244
project(' :adminapi' ) {
246
245
apply plugin : ' java'
247
- apply plugin : ' maven'
248
246
apply plugin : ' maven-publish'
249
247
apply plugin : ' signing'
250
248
apply plugin : ' com.github.johnrengelman.shadow'
@@ -261,13 +259,13 @@ project(':adminapi') {
261
259
262
260
dependencies {
263
261
compile project(' :api' )
264
- testCompile project(' :api' )
262
+ testImplementation project(' :api' )
265
263
}
266
264
267
265
jar {
268
266
manifest {
269
267
attributes(' Implementation-Title' : archivesBaseName,
270
- ' Implementation-Version' : version ,
268
+ ' Implementation-Version' : archiveVersion . get() ,
271
269
' Built-By' : ' MinIO, inc' ,
272
270
' Built-JDK' : System . getProperty(' java.version' ),
273
271
' Source-Compatibility' : sourceCompatibility,
0 commit comments