This commit is contained in:
Cilly Leang 2025-03-08 15:13:29 +11:00
parent 6c61b330d1
commit bc920a5d1e
Signed by: cilly
GPG key ID: 6500251E087653C9
15 changed files with 217 additions and 197 deletions

View file

@ -1,6 +1,7 @@
plugins {
id 'fabric-loom' version '1.10-SNAPSHOT'
id 'maven-publish'
id 'org.jetbrains.kotlin.jvm'
}
version = project.mod_version
@ -27,6 +28,7 @@ repositories {
includeGroup "maven.modrinth"
}
}
mavenCentral()
}
loom {
@ -38,8 +40,9 @@ dependencies {
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc:fabric-language-kotlin:${project.kotlin_version}"
//modImplementation "maven.modrinth:linkart:5.4.5-1.20.6-build.29"
//modImplementation "maven.modrinth:linkart:5.4.5-1.20.6-build.29"
// Fabric API. This is technically optional, but you probably want it anyway.
//modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
@ -63,8 +66,6 @@ java {
// If you remove this line, sources will not be generated.
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
jar {
@ -91,4 +92,7 @@ publishing {
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}
kotlin {
jvmToolchain(21)
}