forked from huksley/serverless-java-spring-boot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
45 lines (38 loc) · 1.09 KB
/
build.gradle
File metadata and controls
45 lines (38 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
plugins {
id 'org.springframework.boot' version '2.1.1.RELEASE'
id 'com.gradle.build-scan' version '2.1'
}
apply plugin: 'java'
repositories {
jcenter()
mavenLocal()
mavenCentral()
}
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-web:2.1.1.RELEASE')
compile('com.amazonaws.serverless:aws-serverless-java-container-spring:[1.0,)') {
exclude group: 'org.slf4j'
}
compile('org.slf4j:slf4j-api:1.7.25')
compile('io.symphonia:lambda-logging:1.0.1:no-config')
// For deserializing various AWS events
compile('com.amazonaws:aws-lambda-java-events:2.2.5')
// For marshalling/unmarshalling JodaTime
compile('com.fasterxml.jackson.datatype:jackson-datatype-joda:2.9.7')
testCompile("junit:junit:4.12")
}
task buildZipFull(type: Zip) {
baseName = "serverless-java-spring-boot"
from compileJava
from processResources
into('lib') {
from(configurations.compileClasspath) {
exclude 'tomcat-embed-*'
}
}
}
build.dependsOn buildZipFull