File tree 1 file changed +13
-10
lines changed
buildSrc/src/main/kotlin/buildsrc/convention
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -4,18 +4,21 @@ plugins {
4
4
`maven- publish`
5
5
}
6
6
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
+ // }
16
16
17
17
tasks
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
+ }
19
22
.configureEach {
20
23
doLast {
21
24
logger.lifecycle(" [${this .name} ] ${project.group} :${project.name} :${project.version} " )
You can’t perform that action at this time.
0 commit comments