Update MDK with new output from mod generator (#38)
* Update MDK with new output from mod generator * Update MDK with new output from mod generator --------- Co-authored-by: NeoForge MDK Automation <173375039+neoforge-mdk-automation[bot]@users.noreply.github.com>
This commit is contained in:
parent
fad02c1168
commit
fc1d637712
3 changed files with 45 additions and 25 deletions
14
build.gradle
14
build.gradle
|
|
@ -1,7 +1,7 @@
|
|||
plugins {
|
||||
id 'java-library'
|
||||
id 'maven-publish'
|
||||
id 'net.neoforged.gradle.userdev' version '7.1.20'
|
||||
id 'net.neoforged.gradle.userdev' version '7.1.21'
|
||||
}
|
||||
|
||||
tasks.named('wrapper', Wrapper).configure {
|
||||
|
|
@ -16,6 +16,15 @@ tasks.named('wrapper', Wrapper).configure {
|
|||
version = mod_version
|
||||
group = mod_group_id
|
||||
|
||||
sourceSets.main.resources {
|
||||
// Include resources generated by data generators.
|
||||
srcDir('src/generated/resources')
|
||||
|
||||
// Exclude common development only resources from finalized outputs
|
||||
exclude("**/*.bbmodel") // BlockBench project files
|
||||
exclude("src/generated/**/.cache") // datagen cache files
|
||||
}
|
||||
|
||||
repositories {
|
||||
// Add here additional repositories if required by some of the dependencies below.
|
||||
}
|
||||
|
|
@ -76,9 +85,6 @@ runs {
|
|||
}
|
||||
}
|
||||
|
||||
// Include resources generated by data generators.
|
||||
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
||||
|
||||
// Sets up a dependency configuration called 'localRuntime'.
|
||||
// This configuration should be used instead of 'runtimeOnly' to declare
|
||||
// a dependency that will be present for runtime testing but that is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue