Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Introduce java version management #181

Closed
wants to merge 3 commits into from

Make it a convention not a hard set.

5a80e9f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

[Feature]: Introduce java version management #181

Make it a convention not a hard set.
5a80e9f
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Test Report failed May 18, 2024 in 0s

77 tests run, 74 passed, 2 skipped, 1 failed.

Annotations

Check failure on line 41 in neoform/src/functionalTest/groovy/net/neoforged/gradle/neoform/dependency/NeoformDependencyManagerTest.groovy

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

NeoformDependencyManagerTest.adding a dependency on neoform minecraft with exact version works

org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_adding_a_dependency_0_internalTestDir9041977820997349442 with arguments []

Output:

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/spock_adding_a_dependency_0_internalTestDir9041977820997349442/build.gradle' line: 7

* What went wrong:
A problem occurred evaluating root project 'neoform-plugin-apply-succeeds'.
> Uncaught exception while processing replacement of dependency net.minecraft:neoform_client using handler net.neoforged.gradle.common.extensions.dependency.replacement.Handler_Decorated@21a77e59: The value for property 'languageVersion' is final and cannot be changed any further.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 4s
Raw output
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/spock_adding_a_dependency_0_internalTestDir9041977820997349442 with arguments []

Output:

FAILURE: Build failed with an exception.

* Where:
Build file '/tmp/spock_adding_a_dependency_0_internalTestDir9041977820997349442/build.gradle' line: 7

* What went wrong:
A problem occurred evaluating root project 'neoform-plugin-apply-succeeds'.
> Uncaught exception while processing replacement of dependency net.minecraft:neoform_client using handler net.neoforged.gradle.common.extensions.dependency.replacement.Handler_Decorated@21a77e59: The value for property 'languageVersion' is final and cannot be changed any further.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 4s

	at org.gradle.testkit.runner.internal.DefaultGradleRunner.lambda$build$2(DefaultGradleRunner.java:269)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.run(DefaultGradleRunner.java:362)
	at org.gradle.testkit.runner.internal.DefaultGradleRunner.build(DefaultGradleRunner.java:267)
	at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:318)
	at net.neoforged.gradle.neoform.dependency.NeoformDependencyManagerTest.adding a dependency on neoform minecraft with exact version works(NeoformDependencyManagerTest.groovy:41)