File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11object ProjectInfo {
22 const val GROUP = " io.github.quillraven.fleks"
3- const val VERSION = " 2.13-SNAPSHOT"
3+ const val VERSION = " 2.12"
4+ const val ARTIFACT = " Fleks"
45}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ mavenPublishing {
3636
3737 signAllPublications()
3838
39- coordinates(ProjectInfo .GROUP , " Fleks " , ProjectInfo .VERSION )
39+ coordinates(ProjectInfo .GROUP , ProjectInfo . ARTIFACT , ProjectInfo .VERSION )
4040
4141 // pom information needs to be specified per publication
4242 // because otherwise maven will complain again that
@@ -89,25 +89,3 @@ signing {
8989 }
9090}
9191// endregion
92-
93-
94- // region Fix Gradle warning about signing tasks using publishing task outputs without explicit dependencies
95- // https://youtrack.jetbrains.com/issue/KT-46466
96- val signingTasks = tasks.withType<Sign >()
97-
98- tasks.withType<AbstractPublishToMaven >().configureEach {
99- mustRunAfter(signingTasks)
100- }
101- // endregion
102-
103-
104- // region publishing logging
105- tasks.withType<AbstractPublishToMaven >().configureEach {
106- val publicationGAV = provider { publication?.run { " $group :$artifactId :$version " } }
107- doLast(" log publication GAV" ) {
108- if (publicationGAV.isPresent) {
109- logger.lifecycle(" [task: ${path} ] ${publicationGAV.get()} " )
110- }
111- }
112- }
113- // endregion
You can’t perform that action at this time.
0 commit comments