-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (36 loc) · 927 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
buildscript {
repositories {
maven {
//needed for com.github.nikit.cpp.helpers:deployer
url 'https://dl.bintray.com/nikit007/mvn-repo/'
}
}
}
plugins {
id 'java'
id 'war'
id 'com.github.nikit.cpp.wildfly.deploy' version '1.0.8'
}
group 'at.technikum'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
jcenter()
mavenCentral()
}
war {
archiveName 'movies.war'
}
dependencies {
compileOnly group: 'javax', name: 'javaee-api', version: '7.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
// hint: `gradle redeployLocal` will invoke an undeploy followed by a deploy
deployConfig {
deployFile = "scripts/deploy" // list of war files to deploy
boxes = [
'Local': [
wildfly: new helpers.Server(username: 'admin', password: 'admin', hostname: 'localhost')
]
]
}