2022-09-23 21:02:46 +02:00
|
|
|
plugins {
|
|
|
|
id 'fabric-loom'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.release = 17
|
|
|
|
}
|
|
|
|
|
|
|
|
version = project.version
|
|
|
|
group = 'de.chaoscaot'
|
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDirs = ['src/']
|
|
|
|
}
|
|
|
|
resources {
|
|
|
|
srcDirs = ['src/']
|
|
|
|
exclude '**/*.java'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// To change the versions see the gradle.properties file
|
|
|
|
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
|
|
|
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
|
|
|
modCompileOnly "net.fabricmc:fabric-loader:${project.loader_version}"
|
|
|
|
modCompileOnlyApi ("me.shedaniel.cloth:cloth-config-fabric:8.2.88") {
|
|
|
|
exclude(group: "net.fabricmc.fabric-api")
|
|
|
|
}
|
|
|
|
modCompileOnlyApi "com.terraformersmc:modmenu:4.0.6"
|
|
|
|
compileOnly project(":common")
|
2022-09-24 01:08:14 +02:00
|
|
|
|
|
|
|
// Used to Override 'private final'
|
2022-09-25 08:47:46 +02:00
|
|
|
compileOnly 'org.jooq:joor:0.9.14'
|
2022-09-24 01:08:14 +02:00
|
|
|
include 'org.jooq:joor:0.9.14'
|
2022-09-23 21:02:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
inputs.property "version", project.version
|
|
|
|
filteringCharset "UTF-8"
|
|
|
|
|
|
|
|
filesMatching("fabric.mod.json") {
|
|
|
|
expand "version": project.version
|
2022-09-25 12:44:50 +02:00
|
|
|
expand "minecraftVersion": project.minecraft_version
|
|
|
|
expand "loaderVersion": project.loader_version
|
2022-09-23 21:02:46 +02:00
|
|
|
}
|
|
|
|
}
|
2022-09-25 08:47:46 +02:00
|
|
|
|
|
|
|
loom {
|
|
|
|
accessWidenerPath = file("src/altauth.accesswidener")
|
|
|
|
}
|