-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
55 lines (39 loc) · 1.12 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
apply plugin: 'java'
apply plugin: 'maven-publish'
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'war'
buildscript {
repositories { jcenter() }
}
group = 'org.jpos.template'
version = '2.1.5'
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url 'https://jpos.org/maven' }
mavenLocal()
}
dependencies {
compile ('org.jpos:jpos:2.1.+') {
exclude(module: 'junit')
exclude(module: 'hamcrest-core')
}
providedCompile "org.jpos.ee:jposee-eerest:2.2.7-SNAPSHOT"
providedCompile "org.jpos.ee:jposee-jetty:2.2.7-SNAPSHOT"
providedCompile "javax.ws.rs:javax.ws.rs-api:2.0.1"
providedCompile "org.glassfish.jersey.media:jersey-media-json-jackson:2.22.1"
providedCompile "org.glassfish.jersey.core:jersey-server:2.22.1"
providedCompile "org.glassfish.jersey.containers:jersey-container-servlet:2.22.1"
}
configurations.all
{
resolutionStrategy.force 'org.slf4j:slf4j-api:1.7.30'
}
apply from: 'jpos-app.gradle'
war {
filter(org.apache.tools.ant.filters.ReplaceTokens, tokens:[targetConfiguration])
}
installApp.dependsOn('war')
dist.dependsOn('war')