Skip to content

Commit 5fba38b

Browse files
committed
lazy plugin description
1 parent 4f9b57c commit 5fba38b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

build-conventions/src/main/kotlin/convention.publishing.gradle.kts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ plugins {
66
signing
77
}
88

9-
gradlePlugin {
10-
plugins {
11-
register(name) {
12-
id = "dev.petuska.npm.publish"
13-
displayName = "NPM package publishing to NPM repositories"
14-
description = project.description
15-
implementationClass = "dev.petuska.npm.publish.NpmPublishPlugin"
9+
afterEvaluate {
10+
gradlePlugin {
11+
plugins {
12+
register(name) {
13+
id = "dev.petuska.npm.publish"
14+
displayName = "NPM package publishing to NPM repositories"
15+
description = project.description
16+
implementationClass = "dev.petuska.npm.publish.NpmPublishPlugin"
17+
}
1618
}
1719
}
1820
}

0 commit comments

Comments
 (0)