Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
shartte committed Oct 3, 2024
1 parent 0917326 commit b02d5e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public void apply(Project project) {

project.getTasks().withType(NeoFormRuntimeTask.class).configureEach(task -> {
task.getNeoFormRuntime().convention(toolConfiguration);
task.getVerbose().convention(extension.getVerbose());
// Every invocation of NFRT should inherit the tools it's using itself via Gradle
task.addArtifactsToManifest(externalToolsConfiguration);
});
Expand Down
16 changes: 8 additions & 8 deletions testproject/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ neoForge {
}
}

neoFormRuntime {
useEclipseCompiler = true
// enableCache = false
// verbose = true

additionalResults.put('vanillaDeobfuscated', project.file('build/vanilla.jar'))
}

parchment {
minecraftVersion = "1.21"
mappingsVersion = "2024.06.23"
Expand All @@ -76,3 +68,11 @@ neoForge {
testedMod = mods.testproject
}
}

neoFormRuntime {
useEclipseCompiler = true
// enableCache = false
// verbose = true

additionalResults.put('vanillaDeobfuscated', project.file('build/vanilla.jar'))
}
4 changes: 0 additions & 4 deletions testproject/subproject/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ plugins {
neoForge {
version = project.neoforge_version

neoFormRuntime {
// verbose = true
}

interfaceInjectionData {
from(project.file('interfaces.json'))
publish(project.file('interfaces.json'))
Expand Down

0 comments on commit b02d5e2

Please sign in to comment.