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

Add Gradle wrapper jar to init template #1060

Merged
merged 1 commit into from
Mar 13, 2019
Merged

Conversation

abrooksv
Copy link
Contributor

Issue #, if available:

Description of changes:
The Gradle wrapper system requires the gradle-wrapper jar to be added, else you get a ClassNotFound exception

sam build
2019-03-13 11:28:54 Building resource 'HelloWorldFunction'
2019-03-13 11:28:54 /Users/alfredbr/IdeaProjects/SamJavaGradle8/HelloWorldFunction/gradlew failed to return a version string using the '-v' option. The workflow is unable to check that the version of the JVM used is compatible with AWS Lambda.
2019-03-13 11:28:54 Running JavaGradleWorkflow:GradleBuild
Build Failed
Error: JavaGradleWorkflow:GradleBuild - Gradle Failed: Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

Checklist:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sriram-mv sriram-mv self-requested a review March 13, 2019 19:13
@jfuss jfuss merged commit 655c4a7 into aws:develop Mar 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants