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-26_1/build.gradle

35 lines
688 B
Groovy

plugins {
id 'java-library'
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
withSourcesJar()
}
dependencies {
implementation project(':core')
compileOnly "net.fabricmc:fabric-loader:${project.loader_version}"
compileOnly "org.slf4j:slf4j-api:2.0.16"
compileOnly files("${rootDir}/libs/baritone-api-fabric-1.18.0.jar")
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
jar {
from {
project(':core').sourceSets.main.output
}
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 25
}