diff --git a/android/build.gradle b/android/build.gradle index 7d5fc6314..72777ebf5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,3 +1,5 @@ +import com.vanniktech.maven.publish.SonatypeHost + plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' @@ -27,3 +29,8 @@ dependencies { dependencyGuard { configuration("releaseRuntimeClasspath") } + +mavenPublishing { + publishToMavenCentral(SonatypeHost.S01) + signAllPublications() +} \ No newline at end of file diff --git a/core/build.gradle b/core/build.gradle index 9c9c2c92f..0ec477091 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -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' @@ -336,5 +337,6 @@ tasks.named("generateTestStone", StoneTask) { } mavenPublishing { - publishToMavenCentral("S01") + publishToMavenCentral(SonatypeHost.S01) + signAllPublications() } diff --git a/dependencies/classpath.txt b/dependencies/classpath.txt index 5ce312f99..43ea88ee8 100644 --- a/dependencies/classpath.txt +++ b/dependencies/classpath.txt @@ -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 diff --git a/gradle/dropboxJavaSdkLibs.versions.toml b/gradle/dropboxJavaSdkLibs.versions.toml index aa49b5c3c..da08792f2 100644 --- a/gradle/dropboxJavaSdkLibs.versions.toml +++ b/gradle/dropboxJavaSdkLibs.versions.toml @@ -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" \ No newline at end of file +maven-publish-plugin = "com.vanniktech.maven.publish:0.24.0" \ No newline at end of file