-
Notifications
You must be signed in to change notification settings - Fork 15
/
build.gradle
41 lines (34 loc) · 1.17 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
apply plugin: 'java'
apply plugin: 'application'
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
applicationDefaultJvmArgs = ["-Dendpoint=http://localhost:7400/deployr",
"-Dusername=testuser",
"-Dpassword=changeme"]
repositories {
mavenCentral()
}
dependencies {
compile fileTree(dir: '../../build/libs', include: ['*.jar'])
compile "commons-codec:commons-codec:1.9"
compile "commons-lang:commons-lang:2.6"
compile "commons-logging:commons-logging:1.2"
compile "org.apache.httpcomponents:httpcore:4.3.2"
compile "org.apache.httpcomponents:httpmime:4.3.5"
compile "org.apache.httpcomponents:httpclient:4.3.5"
compile 'com.fasterxml.jackson.core:jackson-databind:2.2.3'
compile 'com.fasterxml.jackson.core:jackson-core:2.2.3'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.2.3'
compile 'log4j:log4j:1.2.17'
}
jar {
baseName = 'client-tutorial'
version = '7.4.0'
}
task execute(type: JavaExec) {
mainClassName = System.getProperty("testClass")
classpath = sourceSets.main.runtimeClasspath
}
task wrapper(type: Wrapper) {
gradleVersion = '2.0'
}