Skip to content

Commit 6b0c497

Browse files
committed
signing
1 parent 700d539 commit 6b0c497

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ after_success:
2222
- ./publish.sh
2323
- bash <(curl -s https://codecov.io/bash)
2424
script:
25-
- ./gradlew build codeCoverageReport
25+
- ./gradlew build codeCoverageReport -S
2626

2727

2828

grpc-client-spring-boot-starter/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ artifacts {
4343
archives sourceJar
4444
archives javadocJar
4545
}
46-
signing {
47-
sign configurations.archives
48-
}
46+
4947

5048

5149
nexusPublishing {
@@ -102,7 +100,7 @@ publishing {
102100
}
103101

104102
signing {
105-
required {
103+
setRequired {
106104
// signing is required if this is a release version and the artifacts are to be published
107105
!version.toString().endsWith('-SNAPSHOT') && tasks.withType(PublishToMavenRepository).find {
108106
gradle.taskGraph.hasTask it

grpc-spring-boot-starter-gradle-plugin/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ artifacts {
7474
archives sourceJar
7575
archives javadocJar
7676
}
77-
signing {
78-
sign configurations.archives
79-
}
77+
8078

8179

8280
nexusPublishing {
@@ -141,7 +139,7 @@ publishing {
141139
}
142140

143141
signing {
144-
required {
142+
setRequired {
145143
// signing is required if this is a release version and the artifacts are to be published
146144
!version.toString().endsWith('-SNAPSHOT') && (
147145
tasks.withType(PublishToMavenRepository).find {

grpc-spring-boot-starter/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,7 @@ artifacts {
113113
archives sourceJar
114114
archives javadocJar
115115
}
116-
signing {
117-
sign configurations.archives
118-
}
116+
119117
test {
120118
useJUnitPlatform {
121119
// includeTags 'fast'
@@ -260,7 +258,7 @@ publishing {
260258

261259

262260
signing {
263-
required {
261+
setRequired {
264262
// signing is required if this is a release version and the artifacts are to be published
265263
!version.toString().endsWith('-SNAPSHOT') && tasks.withType(PublishToMavenRepository).find {
266264
gradle.taskGraph.hasTask it

0 commit comments

Comments
 (0)