Skip to content

Instantly share code, notes, and snippets.

@javajosh
Last active December 20, 2015 12:08
Show Gist options
  • Save javajosh/6128187 to your computer and use it in GitHub Desktop.
Save javajosh/6128187 to your computer and use it in GitHub Desktop.
apply plugin: 'groovy'
apply plugin: 'idea'
repositories {
mavenCentral()
}
configurations {
provided
testCompile.extendsFrom provided
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.1.5'
provided 'io.vertx:lang-groovy:2.0.0-final'
provided "io.vertx:vertx-core:2.0.0-final"
provided "io.vertx:vertx-platform:2.0.0-final"
}
task collectDeps(type: Copy) {
group = 'vert.x'
description = 'conveniently collect dependencies for other IDEs'
destinationDir = file("build/deps")
into("compile") {
from configurations.compile
}
into("test") {
from configurations.testCompile
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment