Files
nugget/common/build.gradle

22 lines
661 B
Groovy

architectury {
common rootProject.enabled_platforms.toString().split(',')
}
sourceSets {
main {
resources {
srcDir 'src/main/generated'
}
}
}
dependencies {
// We depend on Fabric Loader here to use the Fabric @Environment annotations,
// which get remapped to the correct annotations on each platform.
// Do NOT use other classes from Fabric Loader.
implementation "net.fabricmc:fabric-loader:$rootProject.fabric_loader_version"
// Architectury API. This is optional, and you can comment it out if you don't need it.
api "dev.architectury:architectury:$rootProject.architectury_api_version"
}