This repository has been archived on 2026-10-10. You can view files and clone it, but cannot push or open issues or pull requests.
JevPlays/adapter-1_21_11/build.gradle

36 lines
953 B
Groovy

plugins {
id 'fabric-loom'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
withSourcesJar()
}
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-api:fabric-api:${project.fabric_version}"
implementation project(':core')
include project(':core')
modCompileOnly files("${rootDir}/libs/baritone-api-fabric-1.17.0.jar")
modRuntimeOnly files("${rootDir}/libs/baritone-standalone-fabric-1.17.0.jar")
runtimeOnly "dev.babbaj:nether-pathfinder:1.6"
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 21
}