Skip to content

Commit

Permalink
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27…
Browse files Browse the repository at this point in the history
….0 (#4051)

* Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.27.0

* Track updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jake Wharton <[email protected]>
  • Loading branch information
renovate[bot] and JakeWharton authored Jan 25, 2024
1 parent 0e405b5 commit 2832589
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
6 changes: 0 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,4 @@ subprojects {
}
}
}

pluginManager.withPlugin("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ POM_DEVELOPER_NAME=Square, Inc.
systemProp.org.gradle.internal.publish.checksums.insecure=true

android.useAndroidX=true

SONATYPE_AUTOMATIC_RELEASE=true
SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kotlinx-serialization = "1.6.2"
androidPlugin = { module = "com.android.tools.build:gradle", version = "8.2.2" }
robovmPlugin = { module = "com.mobidevelop.robovm:robovm-gradle-plugin", version.ref = "robovm" }
dokkaPlugin = "org.jetbrains.dokka:dokka-gradle-plugin:1.9.10"
gradleMavenPublishPlugin = "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
gradleMavenPublishPlugin = "com.vanniktech:gradle-maven-publish-plugin:0.27.0"
spotlessPlugin = "com.diffplug.spotless:spotless-plugin-gradle:6.25.0"

kotlin-stdLib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }
Expand Down
11 changes: 4 additions & 7 deletions retrofit-bom/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import com.vanniktech.maven.publish.JavaPlatform

apply plugin: 'java-platform'
apply plugin: 'com.vanniktech.maven.publish'

// TODO: This could be simplified after updating maven publish plugin, see https://vanniktech.github.io/gradle-maven-publish-plugin/what/#java-platform.
publishing {
publications {
maven(MavenPublication) {
from components.javaPlatform
}
}
mavenPublishing {
configure(new JavaPlatform())
}

dependencies {
Expand Down

0 comments on commit 2832589

Please sign in to comment.