Skip to content

Commit 44ffee0

Browse files
committed
[Java] Only apply shadow to all and benchmarks.
1 parent f843af9 commit 44ffee0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

build.gradle

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ subprojects {
103103
apply plugin: 'signing'
104104
apply plugin: 'checkstyle'
105105
apply plugin: 'eclipse'
106-
apply plugin: 'com.github.johnrengelman.shadow'
107106

108107
group = sbeGroup
109108
version = sbeVersion
@@ -151,7 +150,6 @@ subprojects {
151150
signing {
152151
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
153152
sign configurations.archives
154-
sign configurations.shadow
155153
}
156154

157155
install {
@@ -307,6 +305,11 @@ project(':sbe-all') {
307305
archives sourcesJar
308306
archives javadocJar
309307
}
308+
309+
signing {
310+
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
311+
sign configurations.shadow
312+
}
310313
}
311314

312315
project(':sbe-samples') {
@@ -465,6 +468,11 @@ project(':sbe-benchmarks') {
465468
archives sourcesJar
466469
archives javadocJar
467470
}
471+
472+
signing {
473+
required { isReleaseVersion && gradle.taskGraph.hasTask("uploadArchives") }
474+
sign configurations.shadow
475+
}
468476
}
469477

470478
/*

0 commit comments

Comments
 (0)