-
Notifications
You must be signed in to change notification settings - Fork 161
/
build.gradle
42 lines (36 loc) · 1.11 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
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'maven'
repositories {
mavenLocal()
jcenter()
}
sourceCompatibility = 1.7
targetCompatibility = 1.7
version = '1.0.0'
project.ext.deployDir = 'C:\\Wildfly\\wildfly-10.0.0.Final\\standalone\\deployments'
install {
repositories.mavenInstaller {
pom.groupId = 'com-microsoft-azure'
pom.artifactId = rootProject.name
pom.version = version;
}
}
dependencies {
compile 'org.springframework:spring-web:4.2.5.RELEASE'
compile 'org.springframework:spring-context-support:4.2.5.RELEASE'
compile 'org.springframework.session:spring-session-data-redis:1.1.1.RELEASE'
compile 'com.fasterxml.jackson.core:jackson-databind:2.7.0'
compile 'commons-codec:commons-codec:1.10'
compile 'org.slf4j:slf4j-api:1.7.32'
compile 'com-microsoft-azure:azure-oidc:1.0.0'
providedCompile 'javax:javaee-api:6.0'
}
task deploylocal() << {
copy{
from "${buildDir}\\libs"
into "${deployDir}"
include '*.war'
}
ant.touch(file:"${deployDir}\\" + rootProject.name + "-" + version + ".war.dodeploy")
}