forked from Tapadoo/TCSlackNotifierPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
45 lines (33 loc) · 869 Bytes
/
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
repositories {
mavenCentral()
}
apply plugin: 'java'
sourceCompatibility = 1.5
version = '2.2.0'
configurations {
deploy
}
dependencies {
compile files('libs/openapi.jar', 'libs/server-api.jar' , 'libs/common-api.jar' , 'libs/servlet-api.jar')
compile 'com.google.code.gson:gson:2.+'
compile 'org.jdom:jdom:1+'
compile 'joda-time:joda-time:2.3'
deploy 'com.google.code.gson:gson:2.+'
deploy 'joda-time:joda-time:2.3'
}
/**
*
* not using
apply plugin: 'distribution' and distributions closure as it makes a subfolder in zip which I do not want
*
* */
task buildZip(dependsOn:'jar' , type: Zip) {
from('.')
include('teamcity-plugin.xml')
into('server') {
from jar.outputs.files
include('*.jar')
from configurations.deploy
include('*.jar')
}
}