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

40 lines
1.1 KiB
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.19.0.jar")
compileOnly fileTree(dir: 'libs/fabric-api', include: ['*.jar'])
compileOnly fileTree(dir: "${System.getProperty('user.home')}/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/libraries", include: ['**/*.jar'])
compileOnly fileTree(dir: "${System.getProperty('user.home')}/.var/app/org.prismlauncher.PrismLauncher/data/PrismLauncher/instances/Performium/minecraft/mods", include: ['modmenu-*.jar'])
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from({
project(':core').sourceSets.main.output.classesDirs
})
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 25
}