summaryrefslogtreecommitdiff
path: root/archenemyexample/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-12-09 14:00:12 +0100
committerLinnea Gräf <nea@nea.moe>2023-12-09 14:00:12 +0100
commit67bf79815ec27c8b813480c11a45f35ef502fe5b (patch)
tree3656e257e8cb3c9652ee06c101b4da718384d609 /archenemyexample/build.gradle.kts
downloadarchenemy-67bf79815ec27c8b813480c11a45f35ef502fe5b.tar.gz
archenemy-67bf79815ec27c8b813480c11a45f35ef502fe5b.tar.bz2
archenemy-67bf79815ec27c8b813480c11a45f35ef502fe5b.zip
Initial commit
Diffstat (limited to 'archenemyexample/build.gradle.kts')
-rw-r--r--archenemyexample/build.gradle.kts32
1 files changed, 32 insertions, 0 deletions
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)
+// }
+// }
+}
+