-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
57 lines (46 loc) · 1.42 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
apply plugin: 'groovy'
apply plugin: 'com.jfrog.bintray'
version = '0.2'
def uzer = hasProperty('btIdentity') ? btIdentity : System.getenv('btIdentity')
def creds = hasProperty('btIDCreds') ? btIDCreds : System.getenv('btIDCreds')
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:0.5'
}
}
repositories {
jcenter()
}
dependencies {
compile gradleApi()
compile localGroovy()
testCompile ("org.spockframework:spock-core:0.7-groovy-2.0"){
exclude group: 'org.codehaus.groovy'
}
}
bintray {
user = uzer
key = creds
filesSpec {
from 'build/libs'
into "org/fhw/gradle-wildfly-plugin/$version"
include '*.jar'
}
dryRun = false //Whether to run this as dry-run, without deploying
publish = true //If version should be auto published after an upload
pkg {
repo = 'FredsStuff'
name = 'gradle-wildfly-plugin'
desc = 'simple gradle plugin for basic jboss manipulation on a workstation!'
websiteUrl = 'http://stupidfredtricks.blogspot.com/2014/08/a-simple-gradle-plugin-for-wildfly-and.html'
vcsUrl = 'https://github.com/fwelland/gradle-wildfly-plugin.git'
licenses = ['Apache-2.0']
labels = ['gradle', 'wildfly', 'java', 'jboss']
}
}
task wrapper(type:Wrapper){
gradleVersion = '2.0'
}