Skip to content

Commit 46f4694

Browse files
committed
version 2.12
1 parent ebb7506 commit 46f4694

2 files changed

Lines changed: 3 additions & 24 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
object 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
}

buildSrc/src/main/kotlin/buildsrc/plugins/publishing.gradle.kts

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)