Skip to content

Commit 4372152

Browse files
committed
Gradle -> Fix local plugins
(cherry picked from commit 33a1c6c)
1 parent ddd24c8 commit 4372152

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build.gradle.kts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
buildscript {
2-
dependencies {
3-
if (gradle.includedBuilds.find { it.name == "plugins" } != null) {
4-
classpath("com.hivemq:plugins")
2+
if (gradle.includedBuilds.find { it.name == "plugins" } != null) {
3+
plugins {
4+
id("com.hivemq.version-updater")
55
}
66
}
77
}
@@ -17,8 +17,7 @@ plugins {
1717
id("com.github.sgtsilvio.gradle.javadoc-links")
1818
}
1919

20-
if (gradle.includedBuilds.find { it.name == "plugins" } != null) {
21-
apply(plugin = "com.hivemq.version-updater")
20+
plugins.withId("com.hivemq.version-updater") {
2221
project.ext.set("versionUpdaterFiles", arrayOf("README.adoc"))
2322
}
2423

0 commit comments

Comments
 (0)