Skip to content

Commit

Permalink
Fix maven publish (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdziemia authored Dec 1, 2023
1 parent 22fe258 commit 23852f8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
7 changes: 7 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.vanniktech.maven.publish.SonatypeHost

plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
Expand Down Expand Up @@ -27,3 +29,8 @@ dependencies {
dependencyGuard {
configuration("releaseRuntimeClasspath")
}

mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
signAllPublications()
}
4 changes: 3 additions & 1 deletion core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import com.dropbox.stone.java.StoneTask
import com.dropbox.stone.java.model.ClientSpec
import com.dropbox.stone.java.model.StoneConfig
import com.vanniktech.maven.publish.SonatypeHost

plugins {
id 'java-library'
Expand Down Expand Up @@ -336,5 +337,6 @@ tasks.named("generateTestStone", StoneTask) {
}

mavenPublishing {
publishToMavenCentral("S01")
publishToMavenCentral(SonatypeHost.S01)
signAllPublications()
}
6 changes: 3 additions & 3 deletions dependencies/classpath.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ com.sun.activation:javax.activation:1.2.0
com.sun.istack:istack-commons-runtime:3.0.8
com.sun.xml.fastinfoset:FastInfoset:1.2.16
com.thoughtworks.xstream:xstream:1.4.17
com.vanniktech.maven.publish:com.vanniktech.maven.publish.gradle.plugin:0.23.2
com.vanniktech:gradle-maven-publish-plugin:0.23.2
com.vanniktech:nexus:0.23.2
com.vanniktech.maven.publish:com.vanniktech.maven.publish.gradle.plugin:0.24.0
com.vanniktech:gradle-maven-publish-plugin:0.24.0
com.vanniktech:nexus:0.24.0
commons-codec:commons-codec:1.11
commons-io:commons-io:2.4
commons-logging:commons-logging:1.2
Expand Down
2 changes: 1 addition & 1 deletion gradle/dropboxJavaSdkLibs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ blind-pirate-osgi = "com.github.blindpirate.osgi:0.0.6"
dependency-guard = { id = "com.dropbox.dependency-guard", version.ref = "dependency-guard" }
gradle-version-plugin = "com.github.ben-manes.versions:0.42.0"
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
maven-publish-plugin = "com.vanniktech.maven.publish:0.23.2"
maven-publish-plugin = "com.vanniktech.maven.publish:0.24.0"

0 comments on commit 23852f8

Please sign in to comment.