Update gradle main class config

The main class is incorrect ("example.Config" does not exist), so the lambda function cannot recognize the main class of the jar file.
This commit is contained in:
Võ Thành Tài
2022-12-22 22:23:12 +07:00
committed by GitHub
parent df10461132
commit 8eec5a4386

View File

@@ -50,7 +50,7 @@ assemble.dependsOn = [shadowJar, thinJar]
jar {
manifest {
attributes 'Main-Class': 'example.Config'
attributes 'Main-Class': 'example.FunctionConfiguration'
}
}
@@ -90,4 +90,4 @@ dependencies {
compileOnly("com.amazonaws:aws-lambda-java-events:${awsLambdaEventsVersion}")
compileOnly("com.amazonaws:aws-lambda-java-core:${awsLambdaCoreVersion}")
testCompile('org.springframework.boot:spring-boot-starter-test')
}
}