forked from SmartThingsCommunity/smartapp-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (46 loc) · 1.11 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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath deps.springboot.gradlePlugin
}
}
plugins {
id 'jacoco'
id 'java'
id 'groovy'
id 'idea'
id 'eclipse'
}
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
group = "examples"
sourceCompatibility = '1.8'
test {
jacoco {
destinationFile = file("${buildDir}/jacoco/test.exec")
}
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
}
}
test.finalizedBy(jacocoTestReport)
repositories {
jcenter()
}
dependencies {
implementation deps.projects.smartappspring
implementation deps.projects.smartthingsclient
implementation deps.projects.smartappcsdynamodb
implementation deps.logging.logback
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation platform('com.amazonaws:aws-java-sdk-bom:1.11.568')
implementation 'com.amazonaws:aws-java-sdk-dynamodb'
testImplementation deps.groovy.all
testImplementation deps.test.spockCore
}
jacocoTestReport.dependsOn(test)