Skip to content

Commit aae16f7

Browse files
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.23.0 (#483)
* Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.23.0 * Update settings.gradle.kts * use version_name property * add explicit project. when reading property Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gabriel Ittner <[email protected]>
1 parent 8d84276 commit aae16f7

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ okhttp = "com.squareup.okhttp3:okhttp:4.10.0"
1010
dokka = "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"
1111
android-plugin = "com.android.tools.build:gradle:7.3.1"
1212
ktlint-plugin = "org.jlleitschuh.gradle:ktlint-gradle:11.0.0"
13-
maven-publish-plugin = "com.vanniktech:gradle-maven-publish-plugin:0.22.0"
13+
maven-publish-plugin = "com.vanniktech:gradle-maven-publish-plugin:0.23.0"
1414
buildconfig-plugin = "com.github.gmazzo:gradle-buildconfig-plugin:3.1.0"
1515

1616
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" }

plugin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ val integrationTest by tasks.registering(Test::class) {
7676
maxHeapSize = "2g"
7777
jvmArgs("--add-opens", "java.base/java.util=ALL-UNNAMED")
7878

79-
systemProperty("com.vanniktech.publish.version", version.toString())
79+
systemProperty("com.vanniktech.publish.version", project.property("VERSION_NAME").toString())
8080
systemProperty("testConfigMethod", System.getProperty("testConfigMethod"))
8181

8282
beforeTest(

settings.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
rootProject.name = "gradle-maven-publish-plugin"
22

3+
pluginManagement {
4+
repositories {
5+
mavenCentral()
6+
google()
7+
gradlePluginPortal()
8+
}
9+
}
10+
311
plugins {
412
id("com.gradle.enterprise") version "3.12.1"
513
}

0 commit comments

Comments
 (0)