forked from firstdarkdev/fdd-xplat
Initial Commit
This commit is contained in:
38
Fabric/build.gradle
Normal file
38
Fabric/build.gradle
Normal file
@@ -0,0 +1,38 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user