-
Notifications
You must be signed in to change notification settings - Fork 90
Fails on build when compile against JDK17 #1342
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
Comments
Hi, Thanks for reporting this. Which version of the aspectj plugin do you use? You should have: plugins {
id 'io.freefair.aspectj.post-compile-weaving' version '8.1.0'
} |
Hi,
|
I think I found the problem. I could reproduce with a sam template. The gradle version provided in the wrapper is too old ( Update your
You also need to add I will create a PR for the sam templates |
aws/aws-sam-cli-app-templates#444 @scottgerring / @mriccia if you want to follow-up with this... |
we should also update the doc... (adding the aspectj dependency and gradle version) |
Thanks, it is working now correctly. Thanks again for your help |
When using latest version with Gradle, rest of the app is for JDK17, i include all required dependencies, but build gets this error:
org.gradle.api.internal.artifacts.configurations.RoleBasedConfigurationContainerInternal
Environment
compileJava {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
Gradle 8.0.2
AWS lambda java 17
The text was updated successfully, but these errors were encountered: