Skip to content

Commit cd4e650

Browse files
committed
build: tidy up buildscript a bit
1 parent 08705ed commit cd4e650

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

build.gradle.kts

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,15 @@ group = "org.spongepowered"
1818
version = "2.1.0-SNAPSHOT"
1919

2020
subprojects {
21-
plugins.apply {
22-
apply("net.kyori.indra")
23-
apply("net.kyori.indra.licenser.spotless")
24-
apply("net.kyori.indra.git")
25-
}
21+
apply(plugin = "net.kyori.indra")
22+
apply(plugin = "net.kyori.indra.licenser.spotless")
23+
apply(plugin = "net.kyori.indra.git")
2624

2725
if (project.name != "spongegradle-testlib") {
28-
plugins.apply {
29-
apply(JavaGradlePluginPlugin::class)
30-
apply("com.gradle.plugin-publish")
31-
apply("net.kyori.indra.publishing.gradle-plugin")
32-
apply("net.kyori.indra.crossdoc")
33-
}
26+
plugins.apply(JavaGradlePluginPlugin::class)
27+
apply(plugin = "com.gradle.plugin-publish")
28+
apply(plugin = "net.kyori.indra.publishing.gradle-plugin")
29+
apply(plugin = "net.kyori.indra.crossdoc")
3430

3531
tasks.named("publishPlugins") {
3632
onlyIf { net.kyori.indra.util.Versioning.isRelease(project) }

0 commit comments

Comments
 (0)