mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-21 20:12:34 +00:00
40 lines
900 B
Plaintext
40 lines
900 B
Plaintext
plugins {
|
|
id("org.spongepowered.gradle.vanilla").version("0.2")
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url = uri("https://repo-new.spongepowered.org/repository/maven-public/")
|
|
}
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_16
|
|
targetCompatibility = JavaVersion.VERSION_16
|
|
}
|
|
|
|
dependencies {
|
|
"shadedApi"(project(":common:implementation"))
|
|
|
|
"shadedImplementation"("org.apache.logging.log4j:log4j-slf4j-impl:2.8.1")
|
|
|
|
"annotationProcessor"("org.spongepowered:spongeapi:9.0.0-SNAPSHOT")
|
|
"shadedImplementation"("org.spongepowered:spongeapi:9.0.0-SNAPSHOT")
|
|
"annotationProcessor"("org.spongepowered:mixin:0.8.2:processor")
|
|
}
|
|
|
|
minecraft {
|
|
version("1.17.1")
|
|
runs {
|
|
server()
|
|
client()
|
|
}
|
|
}
|
|
|
|
tasks.named<Jar>("jar") {
|
|
manifest {
|
|
//attributes(
|
|
// mapOf("MixinConfigs" to "terra.mixins.json")
|
|
//)
|
|
}
|
|
} |