-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
60 lines (52 loc) · 1.22 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
57
58
59
60
plugins {
id "com.jfrog.bintray" version "1.2"
}
apply plugin: 'groovy'
apply plugin: 'java'
apply plugin: 'application'
mainClassName = 'org.benignbala.iniparser.Main'
repositories {
mavenCentral()
}
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.4.3'
testCompile 'org.spockframework:spock-core:1.0-groovy-2.4'
testCompile 'junit:junit:4.12'
}
jar {
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
configurations.runtime.collect {
it.isDirectory() ? it : zipTree(it)
}
}
manifest {
attributes (
"Main-Class": "org.benignbala.iniparser.Main",
"Class-Path": configurations.compile.collect { it.getName() }.join(' ')
)
}
}
bintray {
user = "benignbala"
key = BINTRAY_API_KEY
publish = true
filesSpec {
from 'build/libs'
into 'benignbala/groovy-iniparser'
}
pkg {
repo = "maven"
name = "groovy-iniparser"
desc = "An INI config file parser implemented in Groovy"
licenses = ["Apache-2.0"]
vcsUrl = "https://github.com/benignbala/groovy-iniparser.git"
publicDownloadNumbers = true
version {
name = '0.1-alpha'
desc = 'First release of the groovy-iniparser plugin'
}
}
}