38 lines
972 B
Groovy
38 lines
972 B
Groovy
|
archivesBaseName = "ExampleMod-Fabric-${minecraft_version}"
|
||
|
|
||
|
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"))
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* ===============================================================================
|
||
|
* = 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)
|
||
|
}
|