File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
src/main/kotlin/dev/mtctx/unipub Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ plugins {
2525}
2626
2727group = " dev.mtctx.unipub"
28- version = " 2.0.6 "
28+ version = " 2.0.7 "
2929
3030repositories {
3131 mavenCentral()
Original file line number Diff line number Diff line change @@ -58,9 +58,9 @@ class UniPub : Plugin<Project> {
5858 )
5959
6060 target.pluginManager.withPlugin(" com.vanniktech.maven.publish" ) {
61- target.extensions.extraProperties.set( " mavenCentralUsername" , profile.username)
62- target.extensions.extraProperties.set( " mavenCentralPassword" , profile.password)
63- target.logger.lifecycle(" UniPub: Injected Gradle properties for Vanniktech (profile '${profile.name} ')" )
61+ System .setProperty( " org.gradle.project. mavenCentralUsername" , profile.username)
62+ System .setProperty( " org.gradle.project. mavenCentralPassword" , profile.password)
63+ target.logger.lifecycle(" > UniPub: Injected Gradle properties for Vanniktech (profile '${profile.name} ')" )
6464 }
6565
6666 target.tasks.withType(PublishToMavenRepository ::class .java).configureEach {
@@ -72,7 +72,7 @@ class UniPub : Plugin<Project> {
7272 password = password?.takeIf { it.isNotBlank() && it.isNotEmpty() } ? : profile.password
7373 }
7474
75- logger.lifecycle(" UniPub: Injected credentials for profile '${profile.name} '" )
75+ logger.lifecycle(" > UniPub: Injected credentials for profile '${profile.name} '" )
7676 }
7777 }
7878 }
You can’t perform that action at this time.
0 commit comments