Files
fdd-xplat/Fabric/build.gradle

55 lines
1.3 KiB
Groovy
Raw Normal View History

2023-11-08 20:57:08 +02:00
// Adjust the output jar name here
archivesBaseName = "${mod_name}-Fabric-${minecraft_version}"
2023-11-06 23:25:17 +02:00
dependencies {
// Add your own dependencies here
// Fabric API. Can be removed if not needed
modImplementation "net.fabricmc.fabric-api:fabric-api:${fabric_api}"
// Do not remove or edit!
implementation(project(":Common"))
}
2023-11-08 20:57:08 +02:00
// Maven Publishing. Remove if not needed
publishing {
publications {
mavenJava(MavenPublication) {
artifactId base.archivesName.get()
from components.java
}
}
repositories {
// Add your maven repository here
maven {
url "file://" + System.getenv("local_maven")
}
}
}
2023-11-06 23:25:17 +02:00
/**
* ===============================================================================
* = DO NOT EDIT BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING =
* ===============================================================================
*/
unimined.minecraft {
fabric {
loader fabric_loader
}
}
processResources {
from project(":Common").sourceSets.main.resources
def buildProps = project.properties.clone()
filesMatching(['fabric.mod.json']) {
expand buildProps
}
}
compileTestJava.enabled = false
tasks.withType(JavaCompile).configureEach {
source(project(":Common").sourceSets.main.allSource)
}