forked from mendix/AuditTrailModule
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
36 lines (28 loc) · 1.12 KB
/
build.gradle
File metadata and controls
36 lines (28 loc) · 1.12 KB
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
apply plugin: 'application'
import org.gradle.api.internal.file.copy.CopySpecInternal
sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
repositories {
mavenCentral()
}
configurations.all {
transitive = false
}
dependencies {
// TEST_CRM
compile group: 'org.hamcrest', name: 'hamcrest', version: '2.2'
// UnitTesting
compile group: 'junit', name: 'junit', version: '4.11'
compile group: 'commons-io', name: 'commons-io', version: '2.3'
compile group: 'org.apache.httpcomponents', name: 'httpcore-osgi', version: '4.4.1'
compile group: 'org.apache.httpcomponents', name: 'httpclient-osgi', version: '4.4.1'
// UnitTesting and ObjectHandling
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1'
}
task copyToUserlib( type: Copy ) {
from configurations.testCompileClasspath
into 'userlib'
rename 'commons-io-2.3.jar', 'org.apache.commons.io-2.3.0.jar'
rename 'commons-lang3-3.1.jar', 'org.apache.commons.lang3.jar'
rename 'http(.*)-osgi-(.*)', 'org.apache.httpcomponents.http$1_$2'
}