You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
afloydironchest/build.gradle

73 lines
1.6 KiB
Groovy

2 years ago
plugins {
id 'babric-loom' version '0.12-SNAPSHOT'
id 'java'
2 years ago
}
group = project.mod_group
archivesBaseName = project.mod_name
version = project.mod_version
loom {
gluedMinecraftJar()
noIntermediateMappings()
customMinecraftManifest.set("https://github.com/azurelmao/bta-manifest-repo/releases/download/v1.7.6.2_02/1.7.6.2_02.json")
2 years ago
}
repositories {
mavenCentral()
maven {
name = 'Babric'
url = 'https://maven.glass-launcher.net/babric'
}
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
ivy {
url = "https://github.com/Better-than-Adventure"
patternLayout {
artifact("[organisation]/releases/download/v[revision]/[module].jar")
m2compatible = true
}
metadataSources { artifact() }
}
2 years ago
}
dependencies {
minecraft "bta-download-repo:bta:${project.bta_version}"
mappings loom.layered() {}
2 years ago
modRuntimeOnly files("libs/minecraft-client-base.jar") // only used to fix the Client run configuration
modImplementation "babric:fabric-loader:${project.loader_version}"
2 years ago
modImplementation "org.slf4j:slf4j-api:1.8.0-beta4"
modImplementation "org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0"
2 years ago
modImplementation("org.apache.commons:commons-lang3:3.12.0")
include("org.apache.commons:commons-lang3:3.12.0")
2 years ago
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
withSourcesJar()
2 years ago
}
tasks.withType(JavaCompile) {
options.release.set 8
}
jar {
from("LICENSE") {
rename { "${it}_${archivesBaseName}" }
}
2 years ago
}
processResources {
inputs.property "version", version
2 years ago
filesMatching("fabric.mod.json") {
expand "version": version
}
2 years ago
}