Add a simple gradle file to build and test the project

This commit is contained in:
R. Tyler Croy 2014-12-21 15:36:22 -08:00
parent 64a46c6ce8
commit 86e3106bfa
2 changed files with 41 additions and 0 deletions

38
build.gradle Normal file
View File

@ -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

3
gradle.properties Normal file
View File

@ -0,0 +1,3 @@
org.gradle.daemon=true
bintrayUser=
bintrayKey=