Created
March 25, 2017 20:33
-
-
Save bytekast/ba00d76e4635eb2cfd8a0f96b6d0121f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'org.springframework.boot' version '1.5.2.RELEASE' | |
} | |
apply plugin: 'groovy' | |
repositories { | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
compile ( | |
'org.springframework.boot:spring-boot-starter', | |
'org.springframework.boot:spring-boot-starter-data-jpa', | |
'org.codehaus.groovy:groovy-all:2.4.7', | |
'com.amazonaws:aws-lambda-java-core:1.1.0', | |
'com.amazonaws:aws-lambda-java-log4j:1.0.0', | |
'com.h2database:h2' | |
) | |
} | |
task buildZip(type: Zip) { | |
baseName = "${project.name}" | |
from compileGroovy | |
from processResources | |
into('lib') { | |
from configurations.runtime | |
} | |
} | |
build.dependsOn buildZip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment