build: Remove unused extension
This commit is contained in:
parent
8460284ea0
commit
54f281abe7
3 changed files with 1 additions and 5 deletions
|
|
@ -1,2 +0,0 @@
|
||||||
abstract class CloudExampleExtension {
|
|
||||||
}
|
|
||||||
|
|
@ -2,8 +2,6 @@ plugins {
|
||||||
id("cloud.base-conventions")
|
id("cloud.base-conventions")
|
||||||
}
|
}
|
||||||
|
|
||||||
extensions.create<CloudExampleExtension>("cloudExample")
|
|
||||||
|
|
||||||
// Only compile examples on CI, or when the compile-examples property exists
|
// Only compile examples on CI, or when the compile-examples property exists
|
||||||
if (!ci.get() && !compileExamples) {
|
if (!ci.get() && !compileExamples) {
|
||||||
tasks.configureEach {
|
tasks.configureEach {
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ tasks {
|
||||||
fun TaskContainerScope.createVersionedRun(
|
fun TaskContainerScope.createVersionedRun(
|
||||||
version: String,
|
version: String,
|
||||||
javaVersion: Int
|
javaVersion: Int
|
||||||
) = register<RunServerTask>("runServer${version.replace(".", "")}") {
|
) = register<RunServerTask>("runServer${version.replace(".", "_")}") {
|
||||||
group = "cloud"
|
group = "cloud"
|
||||||
pluginJars.from(shadowJar.flatMap { it.archiveFile })
|
pluginJars.from(shadowJar.flatMap { it.archiveFile })
|
||||||
minecraftVersion(version)
|
minecraftVersion(version)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue