Skip to content
This repository was archived by the owner on May 4, 2019. It is now read-only.

Commit 77497f1

Browse files
committed
Trying to fix protobuf-rpc publish
1 parent 63b67cf commit 77497f1

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

gradle/release.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ build.dependsOn versionArchives
2727
bintray {
2828
user = project.hasProperty('bintrayUser') ? project.property('bintrayUser') : System.getenv('BINTRAY_USER')
2929
key = project.hasProperty('bintrayKey') ? project.property('bintrayKey') : System.getenv('BINTRAY_KEY')
30-
publications = ['maven', 'maven2']
30+
publications = ['maven']
3131

3232
publish = (osdetector.os == 'osx')
3333

protobuf-rpc/build.gradle

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ artifacts {
174174
extension "exe"
175175
builtBy buildArtifacts
176176
}
177+
178+
archives sourcesJar, javadocJar
177179
}
178180

179181
publishing {
@@ -184,16 +186,6 @@ publishing {
184186
classifier osdetector.os + "-" + osdetector.arch
185187
builtBy buildArtifacts
186188
}
187-
}
188-
189-
maven2(MavenPublication) {
190-
from components.java
191-
192-
println("**** " + group)
193-
println("**** ${artifactName}")
194-
println("**** " + releaseVersion)
195-
196-
artifactId "${artifactName}"
197189
artifact sourcesJar
198190
artifact javadocJar
199191
}

0 commit comments

Comments
 (0)