Open TriNextErik opened 3 months ago
Thank you for reporting the issue. We will try to reproduce the issue.
@TriNextErik To help with reproducing the bug accurately, do you mind providing sample project along with your template.yaml?
If we're talking about the temp-template.yaml it looks like the following:
Resources:
Function:
Type: AWS::Serverless::Function
Properties:
Timeout: 300
MemorySize: 128
Handler: LambraEntryPoint::handleRequest
CodeUri: C:\Users\MyUser\IdeaProjects\LambraEntryPoint\LambraEntryPoint\LambraEntryPoint
Runtime: java21
Architectures:
- x86_64
Otherwise I don't know what other information I could provide. I just followed the steps I mentioned above. This is my Project structure:
Run config:
Description:
When the distributionUrl in the gradle-wrapper.properties of a project is set to
https\://services.gradle.org/distributions/gradle-8.10-bin.zip
or higher versions, an IOException occurs during the build process.Steps to reproduce:
1.) Create a new Project in IntelliJ IDEA 2024.2.3 (Ultimate Edition) 2.) Edit the distributionUrl in the gradle-wrapper.properties from:
https\://services.gradle.org/distributions/gradle-8.8-bin.zip
tohttps\://services.gradle.org/distributions/gradle-8.10-bin.zip
3.) Addimplementation("com.amazonaws:aws-lambda-java-core:1.2.3")
to the dependencies 4.) Use the following class class/code and run the local webhookObserved result:
Result was tested on gradle-8.8-bin.zip and gradle-8.12.1-bin.zip
Expected result:
Build Succeeded
Additional environment details:
sam --version
: SAM CLI, version 1.132.0