forked from cyverse-archive/de-gxt-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
74 lines (60 loc) · 1.71 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
61
62
63
64
65
66
67
68
69
70
71
72
73
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.3.RELEASE")
classpath 'org.wisepersist:gwt-gradle-plugin:1.0.0'
}
}
apply plugin: 'java'
apply plugin: 'idea'
sourceCompatibility = 1.8
targetCompatibility = 1.8
// Establish extended properties for all projects
apply from: 'versions.gradle'
group = 'org.iplantc.de'
subprojects {
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'https://maven.sencha.com/repo/support-commercial-release'
credentials {
// To download the GXT deps, place your Sencha support username and password in your
// ~/.gradle/gradle.properties file
username = "${sencha_support_user}"
password = "${sencha_support_password}"
}
}
}
group = 'org.iplantc.de'
// Exclude all GwtTests from normal java compiles
test {
exclude '**/GwtTest**'
// Disable the test report for the individual test task
reports.html.enabled = false
jvmArgs += [ "-XX:MaxPermSize=256m" ]
}
}
task testReport(type: TestReport) {
destinationDir = file("$buildDir/reports/allTests")
// Include the results from the `test` task in all subprojects
reportOn subprojects*.test
}
apply from: 'iplant/webapps.gradle'
apply from: 'iplant/modules.gradle'
dependencies {
compile project(':de-webapp')
}
clean {
delete "./target"
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}