From 11fe0dc1cf4ae438e10819f56dc4f0d9c3f15e49 Mon Sep 17 00:00:00 2001 From: Zhaoxi Zhang Date: Wed, 27 Mar 2019 10:51:59 -0700 Subject: [PATCH] Fix incorrect Gradle project configuration. --- .../HelloWorldFunction/build.gradle | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/samcli/local/init/templates/cookiecutter-aws-sam-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/build.gradle b/samcli/local/init/templates/cookiecutter-aws-sam-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/build.gradle index 5df0f0ab7a..2350b2961e 100644 --- a/samcli/local/init/templates/cookiecutter-aws-sam-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/build.gradle +++ b/samcli/local/init/templates/cookiecutter-aws-sam-hello-java-gradle/{{cookiecutter.project_name}}/HelloWorldFunction/build.gradle @@ -7,17 +7,6 @@ repositories { } dependencies { - implementation 'software.amazon.awssdk:annotations:2.1.0' - compile ( - 'com.amazonaws:aws-lambda-java-core:1.1.0' - ) - testCompile 'junit:junit:4.12' + implementation 'com.amazonaws:aws-lambda-java-core:1.2.0' + testImplementation 'junit:junit:4.12' } - -sourceSets { - main { - java { - srcDir 'src/main' - } - } -} \ No newline at end of file