build: Remove unused extension

This commit is contained in:
Jason Penilla 2021-06-28 00:51:34 -07:00 committed by Jason
parent 8460284ea0
commit 54f281abe7
3 changed files with 1 additions and 5 deletions

View file

@ -1,2 +0,0 @@
abstract class CloudExampleExtension {
}

View file

@ -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 {

View file

@ -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)