Skip to content

Instantly share code, notes, and snippets.

@ilatypov
Created July 2, 2018 14:16
Show Gist options
  • Save ilatypov/a7491f1d994c2c303bb8249d00092f04 to your computer and use it in GitHub Desktop.
Save ilatypov/a7491f1d994c2c303bb8249d00092f04 to your computer and use it in GitHub Desktop.
// vim: et:ts=2:sts=2:sw=2:fileencoding=utf-8
// Usage:
// JAVA_HOME=c:/jdk8 gradle build
apply plugin: 'groovy'
repositories {
maven {
url "${artifactory_plugins_url}"
credentials {
username = "${artifactory_user}"
password = "${artifactory_password}"
}
}
}
sourceSets {
main {
groovy {
srcDirs = ['src', 'vars']
}
}
}
dependencies {
compile('org.codehaus.groovy:groovy-all:2.4.7')
compile('com.cloudbees:groovy-cps:1.24')
compile('org.eclipse.hudson:hudson-core:3.3.3')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment