Skip to content

Instantly share code, notes, and snippets.

@bytekast
Created March 25, 2017 20:33
Show Gist options
  • Save bytekast/ba00d76e4635eb2cfd8a0f96b6d0121f to your computer and use it in GitHub Desktop.
Save bytekast/ba00d76e4635eb2cfd8a0f96b6d0121f to your computer and use it in GitHub Desktop.
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