-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
72 lines (62 loc) · 1.73 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
plugins {
id 'org.springframework.boot' version '2.1.6.RELEASE'
id 'java'
id "com.diffplug.gradle.spotless" version "3.23.1"
id "jacoco"
}
apply plugin: 'io.spring.dependency-management'
group = 'com.openmrs'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
implementation {
exclude group: 'org.slf4j', module: 'slf4j-log4j12'
}
pdiPlugin
}
repositories {
mavenCentral()
maven {
url 'http://nexus.pentaho.org/content/groups/omni'
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'pentaho-kettle:kettle-core:8.2.0.7-719'
implementation 'pentaho-kettle:kettle-engine:8.2.0.7-719'
pdiPlugin 'org.pentaho.di.plugins:pdi-core-plugins-impl:8.2.0.7-719'
implementation 'mysql:mysql-connector-java:5.1.28'
compile 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
compile 'com.google.googlejavaformat:google-java-format:1.7'
compile 'org.apache.ibatis:ibatis-sqlmap:2.3.4.726'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
compile 'info.picocli:picocli:3.9.6'
testCompile 'com.h2database:h2:1.4.197'
}
spotless {
java {
googleJavaFormat()
}
}
jacoco {
reportsDir = file("${buildDir}/jacoco/reports")
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
task copyPlugins(type: Copy) {
from configurations.pdiPlugin
into "${buildDir}/resources/main/plugins"
}
build.dependsOn(copyPlugins)