Created
March 30, 2017 03:42
-
-
Save bytekast/709c8f9d697ecaab7c461cda43bea6cc 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
apply plugin: 'groovy' | |
repositories { | |
jcenter() | |
mavenCentral() | |
} | |
dependencies { | |
compile( | |
'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', | |
'io.vertx:vertx-core:3.4.1', | |
'io.vertx:vertx-lang-groovy:3.4.1' | |
) | |
} | |
// Task for building the zip file for upload | |
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