forked from vforchi/SSAPServer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (31 loc) · 892 Bytes
/
build.gradle
File metadata and controls
40 lines (31 loc) · 892 Bytes
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
plugins {
id 'groovy'
id 'org.springframework.boot' version '2.1.1.RELEASE'
id "io.spring.dependency-management" version "1.0.6.RELEASE"
}
repositories {
mavenLocal()
mavenCentral()
jcenter()
}
wrapper.gradleVersion = 5.0
/*
* The build system is split in two files because we also include it as part of the build of a bigger project.
* In that case we use only SSAPServer.gradle
*/
apply from: 'SSAPServer.gradle'
version = '0.0.1'
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
compile 'org.codehaus.groovy:groovy-all:2.5.4'
testCompile 'org.spockframework:spock-core:1.2-groovy-2.5'
testCompile 'org.spockframework:spock-spring:1.2-groovy-2.5'
testCompile 'org.springframework.boot:spring-boot-starter-test'
}
import org.apache.tools.ant.filters.ReplaceTokens
processResources {
filter ReplaceTokens, tokens: [
'ssap.server.port': '9000'
]
}