File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/kotlin/dev/mtctx/unipub Expand file tree Collapse file tree 2 files changed +3
-3
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.4 "
28+ version = " 2.0.5 "
2929
3030repositories {
3131 mavenCentral()
Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ class UniPub : Plugin<Project> {
5959
6060 val usesVanniktechMavenPublish = target.plugins.hasPlugin(" com.vanniktech.maven.publish" )
6161 if (usesVanniktechMavenPublish) {
62- target.gradle.startParameter.projectProperties[ " mavenCentralUsername" ] = profile.username
63- target.gradle.startParameter.projectProperties[ " mavenCentralPassword" ] = profile.password
62+ target.setProperty( " mavenCentralUsername" , profile.username)
63+ target.setProperty( " mavenCentralPassword" , profile.password)
6464 target.logger.lifecycle(" UniPub: Injected Gradle properties for Vanniktech (profile '${profile.name} ')" )
6565 }
6666
You can’t perform that action at this time.
0 commit comments