Oscar Barrios
05/09/2024, 1:28 AMJava 17
to Java 21
which requires a Gradle upgrade from 7.6.1
to 8.5
I executed gradle help --scan
and checked the build scan and it showed no deprecation issues
But right after upgrading Gradle to 8.5
Im getting this issue
Plugin [id: 'com.netflix.dgs.codegen', version: '5.1.17'] was not found in any of the following sources
FYI I didn't make any other change to my project, just the Java and Gradle upgrade, if I get back to Gradle 7.6.1
build start working again
Any help will be appreciatedChris Lee
05/09/2024, 2:00 AMOscar Barrios
05/09/2024, 3:41 AMOscar Barrios
05/09/2024, 6:53 PM7.6.1
, and I added this
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
But Im having this issue
* What went wrong:
Could not open cp_settings generic class cache for settings file '.../settings.gradle' (/Users/obarrios/.gradle/caches/7.6.1/scripts/2mmg1xqy0ezdl7o38hg2c62ie).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65
Oscar Barrios
05/09/2024, 6:54 PMPlugin not found
is also happening with the latest versionVampire
05/09/2024, 7:20 PMOscar Barrios
05/09/2024, 7:22 PMOscar Barrios
05/09/2024, 7:30 PM6.1.10
and Gradle to the latest version 8.7
and error is gone, so I guess it was some versioning issue, it will be nice if the error could be improved though, thanks for your help guys