From 67bf79815ec27c8b813480c11a45f35ef502fe5b Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 9 Dec 2023 14:00:12 +0100 Subject: Initial commit --- archenemyexample/build.gradle.kts | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 archenemyexample/build.gradle.kts (limited to 'archenemyexample/build.gradle.kts') diff --git a/archenemyexample/build.gradle.kts b/archenemyexample/build.gradle.kts new file mode 100644 index 0000000..eb0d9ff --- /dev/null +++ b/archenemyexample/build.gradle.kts @@ -0,0 +1,32 @@ +import moe.nea.archenemy.MCSide + +plugins { + kotlin("multiplatform") version "1.9.10" + id("moe.nea.archenemy.mojang") +} + +repositories { + mavenCentral() +} + +kotlin { + val allJvm by sourceSets.creating { + this.dependencies { + } + } + + jvm("forge") { + compilations.named("main").get().run { + defaultSourceSet.dependsOn(allJvm) + this.dependencies { + implementation(mojang.minecraft("1.8.9", MCSide.CLIENT)) + } + } + } +// jvm("fabric") { +// compilations.named("main").get().run { +// defaultSourceSet.dependsOn(allJvm) +// } +// } +} + -- cgit