File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed
modules/bcv-gradle-plugin Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ plugins {
55 idea
66}
77
8- group = " dev.adamko.kotlin.binary_compatibility_validator "
8+ group = " dev.adamko.kotlin.binary-compatibility-validator "
99project.version = object {
1010 private val gitVersion = project.gitVersion
1111 override fun toString (): String = gitVersion.get()
Original file line number Diff line number Diff line change @@ -103,3 +103,30 @@ tasks.withType<KotlinCompilationTask<*>>().configureEach {
103103binaryCompatibilityValidator {
104104 ignoredMarkers.add(" dev.adamko.kotlin.binary_compatibility_validator.internal.BCVInternalApi" )
105105}
106+
107+
108+ publishing {
109+ publications {
110+ register<MavenPublication >(" relocation" ) {
111+ pom {
112+ val relocationMessage =
113+ " Relocated artifact. Replaced underscores with dashes in the Group ID, to match BCV-MU's Gradle Plugin ID."
114+ name = " Binary Compatibility Validator MU [RELOCATION MARKER]"
115+ description = relocationMessage
116+
117+ // Old artifact coordinates
118+ groupId = " dev.adamko.kotlin.binary_compatibility_validator"
119+ artifactId = " bcv-gradle-plugin"
120+
121+ distributionManagement {
122+ relocation {
123+ // New artifact coordinates
124+ groupId = project.group.toString()
125+ artifactId = project.name
126+ message = relocationMessage
127+ }
128+ }
129+ }
130+ }
131+ }
132+ }
You can’t perform that action at this time.
0 commit comments