From 86e3106bfae41dc31a33d4a3a292cc27973294d6 Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Sun, 21 Dec 2014 15:36:22 -0800 Subject: [PATCH] Add a simple gradle file to build and test the project --- build.gradle | 38 ++++++++++++++++++++++++++++++++++++++ gradle.properties | 3 +++ 2 files changed, 41 insertions(+) create mode 100644 build.gradle create mode 100644 gradle.properties diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..caec574 --- /dev/null +++ b/build.gradle @@ -0,0 +1,38 @@ +plugins { + id 'com.jfrog.bintray' version '1.0' +} + +apply plugin: 'groovy' + + +group = 'com.github.rtyler' +version = '0.1.0' +description = '' + +dependencies { + testCompile 'org.spockframework:spock-core:0.7-groovy-2.0' + testCompile 'cglib:cglib-nodep:2.2.+' +} + + +bintray { + user = project.bintrayUser + key = project.bintrayKey + publish = true + dryRun = false + configurations = ['archives'] + + pkg { + userOrg = 'rtyler' + repo = 'maven' + name = 'localdocs-gradle-plugin' + labels = [] + + version { + name = project.version + vcsTag = "v${project.version}" + desc = project.description + } + } +} +bintrayUpload.dependsOn assemble diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..760775d --- /dev/null +++ b/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.daemon=true +bintrayUser= +bintrayKey=