36 lines
815 B
Groovy
36 lines
815 B
Groovy
loom {
|
|
accessWidenerPath.set(file("src/main/resources/lod.accesswidener"))
|
|
}
|
|
|
|
architectury {
|
|
common()
|
|
}
|
|
|
|
afterEvaluate {
|
|
tasks {
|
|
remapJar {
|
|
remapAccessWidener.set(false)
|
|
}
|
|
}
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenCommon(MavenPublication) {
|
|
artifactId = rootProject.archives_base_name
|
|
from components.java
|
|
}
|
|
}
|
|
|
|
// 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.
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
|
|
shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {
|
|
exclude(module: "gson")
|
|
}
|
|
} |