-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (56 loc) · 1.94 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
56
57
58
59
60
61
62
63
64
65
66
buildscript {
ext {
springBootVersion = '2.0.2.RELEASE'
snippetsDir = file('build/generated-snippets')
}
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.9.2'
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'war'
apply plugin: 'org.asciidoctor.convert'
group 'com.upc.gessi.qrapids'
version '1.0'
sourceCompatibility = 1.8
war {
baseName = 'qr-backlog-gitlab'
version = version
enabled = true
}
repositories {
mavenCentral()
}
dependencies {
compile('org.springframework.boot:spring-boot-starter-actuator')
compile('org.springframework.boot:spring-boot-starter-web')
compile ('org.nuiton.thirdparty:REngine:1.7-3')
compile ('org.nuiton.thirdparty:Rserve:1.7-3')
runtime('org.springframework.boot:spring-boot-devtools')
//JSON Java Library
compile 'com.google.code.gson:gson:2.8.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.mockito:mockito-inline:2.13.0'
testCompile 'org.springframework.restdocs:spring-restdocs-mockmvc:2.0.3.RELEASE'
asciidoctor 'org.springframework.restdocs:spring-restdocs-asciidoctor:2.0.3.RELEASE'
// https://mvnrepository.com/artifact/org.mockito/mockito-core
testCompile group: 'org.mockito', name: 'mockito-core', version: '2.22.0'
// comment this line to launch application from developing environment
// uncomment this line before generating .war file
// providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
}
asciidoctor {
sourceDir = file('docs/asciidoc')
inputs.dir snippetsDir
outputDir = file('docs/asciidoc')
separateOutputDirs = false
dependsOn test
}