Rocky Asphalt now generates naturally again

This commit is contained in:
Martin Prokoph
2024-07-31 12:25:59 +02:00
parent 01fa068af6
commit bb6f4d4042
7 changed files with 177 additions and 14 deletions

View File

@@ -19,6 +19,31 @@ repositories {
}
maven { url 'https://maven.nucleoid.xyz' }
}
loom {
runs {
//
// This adds a new gradle task that runs the datagen API: "gradlew runDatagenClient"
//
datagenClient {
inherit client
name "Data Generation"
vmArg "-Dfabric-api.datagen"
vmArg "-Dfabric-api.datagen.output-dir=${file("src/main/generated")}"
vmArg "-Dfabric-api.datagen.modid=decorative"
runDir "build/datagen"
}
}
}
sourceSets {
main {
resources {
srcDirs += [
'src/main/generated'
]
}
}
}
dependencies {
//to change the versions see the gradle.properties file