TheWildBackport/common/build.gradle

27 lines
836 B
Groovy
Raw Normal View History

2022-07-10 06:16:25 +02:00
architectury {
2022-08-25 23:53:18 +02:00
common(rootProject.enabled_platforms.split(","))
2022-07-10 06:16:25 +02:00
}
loom {
2022-08-25 23:53:18 +02:00
accessWidenerPath = file("src/main/resources/wildbackport.accesswidener")
}
dependencies {
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
// Do NOT use other classes from fabric loader
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
2023-11-15 18:35:02 +01:00
2023-11-26 12:42:36 +01:00
modImplementation("net.anvilcraft:anvillib-18:1.1.0") {transitive = false}
2022-08-25 23:53:18 +02:00
// Remove the next line if you don't want to depend on the API
// modApi "dev.architectury:architectury:${rootProject.architectury_version}"
2022-07-10 06:16:25 +02:00
}
publishing {
publications {
mavenCommon(MavenPublication) {
artifactId = rootProject.archives_base_name
from components.java
}
}
2022-08-25 23:53:18 +02:00
}