AltAuth/fabric/build.gradle
2022-09-25 16:03:41 +02:00

52 Zeilen
1.3 KiB
Groovy

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")
// Used to Override 'private final'
compileOnly 'org.jooq:joor:0.9.14'
include 'org.jooq:joor:0.9.14'
}
processResources {
inputs.property "version", project.version
filteringCharset "UTF-8"
filesMatching("fabric.mod.json") {
expand "version": project.version, "minecraftVersion": project.minecraft_version, "loaderVersion": project.loader_version
}
}
loom {
accessWidenerPath = file("src/altauth.accesswidener")
}