-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle-template
61 lines (51 loc) · 1.56 KB
/
build.gradle-template
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
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'com.bmuschko.cargo' // For Tomcat deployments
version = '5.20'
// Sets JDK 1.7
sourceCompatibility = 1.7
targetCompatibility = 1.7
// For Cargo plugin
buildscript {
repositories { jcenter() }
dependencies { classpath 'com.bmuschko:gradle-cargo-plugin:2.0.3' }
}
// 1. Get dependencies from Maven local repository
// 2. Get dependencies from Maven central repository
repositories {
mavenLocal()
mavenCentral()
maven { url 'http://mavensync.zkoss.org/maven2' } // ZK Framework
maven { url 'https://oss.sonatype.org/content/groups/public' }
}
dependencies {
compile 'javax:javaee-web-api:7.0'
compile 'org.beanshell:bsh:2.0b4'
compile 'commons-fileupload:commons-fileupload:1.2.2'
compile 'commons-io:commons-io:2.1'
compile 'org.zkoss.zk:zhtml:6.5.4'
compile 'org.zkoss.zk:zk:6.5.4'
compile 'org.zkoss.zk:zkplus:6.5.4'
compile 'org.zkoss.zk:zul:6.5.4'
compile 'org.zkoss.zk:zkbind:6.5.4'
compile 'io.searchbox:jest:0.1.0'
compile 'org.slf4j:slf4j-log4j12:1.6.1'
compile 'org.slf4j:slf4j-simple:1.6.1'
compile 'org.slf4j:slf4j-api:1.7.5'
compile 'com.google.visualization:visualization-datasource:1.1.1'
compile 'com.google.guava:guava:16.0.1'
}
cargo {
containerId = 'tomcat7x'
port = 8080
deployable { context = name }
remote {
hostname = 'XXXXXX'
username = 'XXXXXXXX'
password = 'XXXXXXXX'
}
}
// Run this task to re-generate the wrapper
task wrapper (type: Wrapper) {
gradleVersion = '2.0'
}