Slackbot
01/15/2023, 8:52 PMDariusz Kuc
01/15/2023, 8:53 PMCaused by: java.lang.IllegalArgumentException: Unsupported class file major version 61
Dariusz Kuc
01/15/2023, 9:26 PMJendrik Johannes
01/16/2023, 7:35 AM3.6.1
or higher on you plugin classpath. If you use buildSrc (or included plugin build) add this to your buildSrc/build.gradle
dependencies {
implementation(platform("org.apache.maven.plugin-tools:maven-plugin-tools:3.6.4"))
}
If that fixes the issue, I think @benedikt will be happily accepting a PR to upgrade the dependency version in the plugin.ephemient
01/16/2023, 9:56 AMbuildSrc
platform constraints didn't propagated to the projects for meephemient
01/16/2023, 9:56 AMbuildscript {
dependencies {
classpath(platform("org.apache.maven.plugin-tools:maven-plugin-tools:3.6.4"))
ephemient
01/16/2023, 9:56 AMbuildscript {
configurations.classpath.resolutionStrategy.eachDependency {
if (requested.group == "org.sonatype.sisu" && requested.name == "sisu-guice") artifactSelection {
if (requestedSelectors.any { it.type == "jar" && it.classifier == "noaop" })
selectArtifact("jar", null, "no_aop")
ephemient
01/16/2023, 9:57 AM./gradlew buildEnvironment
showed that the expected dependencies were resolvedDariusz Kuc
01/16/2023, 5:07 PMDariusz Kuc
01/16/2023, 5:08 PMnoaop
jar
Execution failed for task ':plugin:compileKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':plugin:compileKotlin'
> Could not resolve all files for configuration ':plugin:compileClasspath'.
> Could not find sisu-guice-3.2.3-noaop.jar (org.sonatype.sisu:sisu-guice:3.2.3).
Searched in the following locations:
<https://repo.maven.apache.org/maven2/org/sonatype/sisu/sisu-guice/3.2.3/sisu-guice-3.2.3-noaop.jar>