Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (35 sloc) 904 Bytes
buildscript {
ext {
springBootVersion = '1.4.3.RELEASE'
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'com.github.jengelman.gradle.plugins:shadow:1.2.3'
}
}
apply plugin: 'java'
apply plugin: 'org.springframework.boot'
apply plugin: 'com.github.johnrengelman.shadow'
jar {
baseName = 'test-boot-lambda'
version = '0.0.1-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter')
compile('com.amazonaws:aws-lambda-java-core:1.1.0')
compile('com.amazonaws:aws-lambda-java-events:1.3.0')
compile('com.amazonaws:aws-lambda-java-log4j:1.0.0')
testCompile('org.springframework.boot:spring-boot-starter-test')
}
shadowJar {
append('META-INF/spring.factories')
}