File tree Expand file tree Collapse file tree 1 file changed +13
-10
lines changed
buildSrc/src/main/kotlin/buildsrc/convention Expand file tree Collapse file tree 1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,21 @@ plugins {
44 `maven- publish`
55}
66
7- plugins.withType(JavaPlugin ::class .java) {
8- publishing {
9- publications {
10- create<MavenPublication >(" mavenJava" ) {
11- from(components[" java" ])
12- }
13- }
14- }
15- }
7+ // plugins.withType(JavaPlugin::class.java) {
8+ // publishing {
9+ // publications {
10+ // create<MavenPublication>("mavenJava") {
11+ // from(components["java"])
12+ // }
13+ // }
14+ // }
15+ // }
1616
1717tasks
18- .matching { it.name in listOf (" publish" , " publishToMavenLocal" ) }
18+ .matching {
19+ it.name.startsWith(PublishingPlugin .PUBLISH_LIFECYCLE_TASK_NAME )
20+ && it.group == PublishingPlugin .PUBLISH_TASK_GROUP
21+ }
1922 .configureEach {
2023 doLast {
2124 logger.lifecycle(" [${this .name} ] ${project.group} :${project.name} :${project.version} " )
You can’t perform that action at this time.
0 commit comments