-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
54 lines (44 loc) · 1005 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
46
47
48
49
50
51
52
53
54
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'de.richsource.gradle.plugins:gwt-gradle-plugin:0.6'
}
}
apply plugin: 'java'
apply plugin: 'gwt'
apply plugin: 'eclipse'
apply plugin: 'idea'
task wrapper(type: Wrapper) {
gradleVersion = '2.8'
}
repositories {
mavenCentral()
}
dependencies {
gwt 'com.allen-sauer.gwt.log:gwt-log:3.3.2'
gwt 'com.allen-sauer.gwt.dnd:gwt-dnd:3.3.3'
}
gwt {
gwtVersion = '2.7.0'
modules 'se.umu.cs.ldbn.Ldbn'
compiler {
strict = true;
disableClassMetadata = true;
disableCastChecking = true;
}
}
task copyWebResources(type: Copy) {
description 'Copies the resource directory to the target www directory.'
from 'src/main/resources'
exclude '**/db*'
into 'build/www'
}
assemble.dependsOn copyWebResources
task copyGwtOutput(dependsOn: 'compileGwt', type: Copy) {
description 'Copies the compiled GWT output to the target www directory.'
from 'build/gwt/out/ldbn'
into 'build/www/ldbn'
}
assemble.dependsOn copyGwtOutput