mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-24 13:31:33 +00:00
refactor: use submodules
This commit is contained in:
@@ -4,4 +4,23 @@ dependencies {
|
||||
implementation("com.google.code.gson", "gson", Versions.Allay.gson)
|
||||
|
||||
compileOnly("org.allaymc.allay", "api", Versions.Allay.api)
|
||||
}
|
||||
|
||||
tasks.register<Copy>("copyMappings") {
|
||||
from("src/main/resources/mappings") {
|
||||
include("biomes.json", "items.json")
|
||||
}
|
||||
from("src/main/resources/mappings-generator") {
|
||||
include("generator_blocks.json")
|
||||
rename("generator_blocks.json", "blocks.json")
|
||||
}
|
||||
into("src/main/resources/mapping")
|
||||
}
|
||||
|
||||
tasks.processResources {
|
||||
dependsOn("copyMappings")
|
||||
|
||||
exclude("mapping/.keep")
|
||||
exclude("mappings/**")
|
||||
exclude("mappings-generator/**")
|
||||
}
|
||||
Reference in New Issue
Block a user