mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2025-07-03 08:25:31 +00:00
set up mixin and vanillagradle
This commit is contained in:
parent
df6cdf37aa
commit
2263e6722b
@ -1,3 +1,8 @@
|
||||
plugins {
|
||||
id("org.spongepowered.plugin").version("0.9.0")
|
||||
id("org.spongepowered.gradle.vanilla").version("0.2")
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = uri("https://repo-new.spongepowered.org/repository/maven-public/")
|
||||
@ -6,5 +11,28 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
"shadedApi"(project(":common:implementation"))
|
||||
annotationProcessor(implementation("org.spongepowered:spongeapi:8.0.0-SNAPSHOT")!!)
|
||||
annotationProcessor(implementation("org.spongepowered:spongeapi:9.0.0-SNAPSHOT")!!)
|
||||
annotationProcessor("org.spongepowered:mixin:0.8.2:processor")
|
||||
}
|
||||
|
||||
sponge {
|
||||
plugin {
|
||||
id = "terra"
|
||||
}
|
||||
}
|
||||
|
||||
minecraft {
|
||||
version("1.17.1")
|
||||
runs {
|
||||
server()
|
||||
client()
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named<Jar>("jar") {
|
||||
manifest {
|
||||
attributes(
|
||||
mapOf("MixinConfigs" to "terra.mixins.json")
|
||||
)
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user