forked from cronn/jira-sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
84 lines (68 loc) · 1.82 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
buildscript {
ext {
springBootVersion = '1.4.1.RELEASE'
}
repositories {
jcenter()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.1'
}
}
apply plugin: 'java'
apply plugin: 'org.sonarqube'
apply plugin: 'jacoco'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
group = 'de.cronn'
if (System.env.BUILD_NUMBER) {
version = "1.0-SNAPSHOT-b" + System.env.BUILD_NUMBER
} else {
version = "1.0"
}
jacoco {
toolVersion = "0.7.7.201606060606"
}
springBoot {
executable = true
}
bootRun {
systemProperties = System.properties
}
eclipse.classpath {
downloadSources = true
}
idea.module {
downloadJavadoc = true
downloadSources = true
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
repositories {
jcenter()
}
}
dependencies {
compile('org.springframework.boot:spring-boot-starter')
compile('org.springframework.boot:spring-boot-starter-cache')
compile('javax.cache:cache-api')
compile('org.ehcache:ehcache:3.1.3')
compile 'org.apache.httpcomponents:httpclient:4.5.2'
compile 'org.apache.commons:commons-lang3:3.4'
compile("org.springframework:spring-web")
compile("com.fasterxml.jackson.core:jackson-databind")
compile("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
compile "de.cronn:ssh-proxy:1.0"
testCompile("org.mockito:mockito-core:1.10.19")
testCompile("nl.jqno.equalsverifier:equalsverifier:2.1.6")
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile("org.springframework.boot:spring-boot-starter-web")
}
task wrapper(type: Wrapper) {
description = "Generates gradlew[.bat] scripts"
gradleVersion = "3.1"
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
}