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

Compiling AR 1.12 fails due to Jackson Core dependency changes #2362

Open
Bysokar opened this issue Jul 14, 2023 · 3 comments
Open

Compiling AR 1.12 fails due to Jackson Core dependency changes #2362

Bysokar opened this issue Jul 14, 2023 · 3 comments

Comments

@Bysokar
Copy link
Contributor

Bysokar commented Jul 14, 2023

Hi All,

Compiling the current AR 1.12.2 version fails due to jackson core requiring Java 19.

java.util.concurrent.ExecutionException: org.gradle.api.GradleException: Failed to create Jar file C:\Users\username.gradle\caches\jars-9\b868ab677410c01cf9b5a0e29a035e73\jackson-core-2.15.2.jar.

Unsupported Major Version 63 is the error.

This is resolved in Gradle 7.6.1 onwards, however I have then run into issues with MinecraftForge compiling - the referred library is referencing a site which is no longer free to access.

Could not resolve net.minecraftforge:legacydev:0.2.4.0.
Required by:
project : > net.minecraftforge:forge:1.12.2-14.23.5.2860_mapped_snapshot_20170624-1.12_at_02cae6fbe414bfbef35ae79e31112d38cab983c4
Could not resolve net.minecraftforge:legacydev:0.2.4.0.
> Could not get resource 'https://su5ed.jfrog.io/artifactory/maven/net/minecraftforge/legacydev/0.2.4.0/legacydev-0.2.4.0.pom'.
> Could not GET 'https://landing.jfrog.com/reactivate-server/su5ed'. Received status code 409 from server: Conflict

Are you able to assist with resolving these issues? You'll likely run into them if you pick up development again.

@Bysokar
Copy link
Contributor Author

Bysokar commented Jul 14, 2023

Worth noting ive since identified this as related to a dependency of the compilation tools to publish to curse etc and have stripped all non-essential functions from gradle in the version I am using. Works for now.

@Burchard36
Copy link
Contributor

Worth noting ive since identified this as related to a dependency of the compilation tools to publish to curse etc and have stripped all non-essential functions from gradle in the version I am using. Works for now.

Are you able to provide the gradle that you used? This would be really great for any of us wanting to do forks & fixes as its entirely unusable as of now (Got the unsupported class versioning fixed, however I keep running into the MinecraftForge issues with the unknown host)

Thanks in advance if you can provide a working fork and/or a working gradle file :)

@Bysokar
Copy link
Contributor Author

Bysokar commented Jul 31, 2023

Hey mate, can take the gradle config from https://github.com/StargateMC/AR-StargateMC

Note: The build of AR that we use depends on our server's coremod, it is not safe for public use, so dont take the whole repo.

The MinecraftForge issues are because Gradle 7.6.1+ doesn't support MC1.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants