33 lines
1003 B
Groovy
33 lines
1003 B
Groovy
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.loader_version}"
|
|
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.25'
|
|
include group: 'org.yaml', name: 'snakeyaml', version: '1.25'
|
|
}
|
|
|
|
architectury {
|
|
common()
|
|
}
|
|
|
|
java {
|
|
withSourcesJar()
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenCommon(MavenPublication) {
|
|
artifactId = rootProject.archives_base_name
|
|
// add all the jars that should be included when publishing to maven
|
|
artifact remapJar
|
|
artifact(sourcesJar) {
|
|
builtBy remapSourcesJar
|
|
}
|
|
}
|
|
}
|
|
|
|
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
|
|
repositories {
|
|
// Add repositories to publish to here.
|
|
}
|
|
} |