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
2
.gitattributes
vendored
2
.gitattributes
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
# Disable autocrlf on generated files, they always generate with LF
|
# Disable autocrlf on generated files, they always generate with LF
|
||||||
# Add any extra files or paths here to make git stop saying they
|
# Add any extra files or paths here to make git stop saying they
|
||||||
# are changed when only line endings change.
|
# are changed when only line endings change.
|
||||||
src/generated/**/.cache/cache text eol=lf
|
src/generated/**/.cache/* text eol=lf
|
||||||
src/generated/**/*.json text eol=lf
|
src/generated/**/*.json text eol=lf
|
||||||
|
|
|
||||||
54
.gitignore
vendored
54
.gitignore
vendored
|
|
@ -1,26 +1,40 @@
|
||||||
# eclipse
|
### Gradle ###
|
||||||
bin
|
.gradle
|
||||||
*.launch
|
build/
|
||||||
.settings
|
!gradle/wrapper/gradle-wrapper.jar
|
||||||
.metadata
|
!**/src/**/build/
|
||||||
.classpath
|
|
||||||
.project
|
|
||||||
|
|
||||||
# idea
|
### IntelliJ IDEA ###
|
||||||
out
|
.idea/
|
||||||
*.ipr
|
|
||||||
*.iws
|
*.iws
|
||||||
*.iml
|
*.iml
|
||||||
.idea
|
*.ipr
|
||||||
|
out/
|
||||||
|
!**/src/**/out/
|
||||||
|
|
||||||
# gradle
|
.run/
|
||||||
build
|
|
||||||
.gradle
|
|
||||||
|
|
||||||
# other
|
### Eclipse ###
|
||||||
eclipse
|
.apt_generated
|
||||||
run
|
.classpath
|
||||||
runs
|
.eclipse/
|
||||||
run-data
|
.factorypath
|
||||||
|
.project
|
||||||
|
.settings
|
||||||
|
.springBeans
|
||||||
|
.sts4-cache
|
||||||
|
bin/
|
||||||
|
!**/src/**/bin/
|
||||||
|
|
||||||
repo
|
### VS Code ###
|
||||||
|
.vscode/
|
||||||
|
|
||||||
|
### Mac OS ###
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
### Minecraft Modding ###
|
||||||
|
run/
|
||||||
|
!**/src/**/run/
|
||||||
|
**/src/generated/**/.cache/
|
||||||
|
repo/
|
||||||
|
!**/src/**/repo/
|
||||||
|
|
|
||||||
14
build.gradle
14
build.gradle
|
|
@ -1,7 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'maven-publish'
|
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 {
|
tasks.named('wrapper', Wrapper).configure {
|
||||||
|
|
@ -16,6 +16,15 @@ tasks.named('wrapper', Wrapper).configure {
|
||||||
version = mod_version
|
version = mod_version
|
||||||
group = mod_group_id
|
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 {
|
repositories {
|
||||||
// Add here additional repositories if required by some of the dependencies below.
|
// 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'.
|
// Sets up a dependency configuration called 'localRuntime'.
|
||||||
// This configuration should be used instead of 'runtimeOnly' to declare
|
// This configuration should be used instead of 'runtimeOnly' to declare
|
||||||
// a dependency that will be present for runtime testing but that is
|
// a dependency that will be present for runtime testing but that is
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue