forked from reactiverse/aws-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
71 lines (58 loc) · 1.63 KB
/
build.gradle.kts
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
val vertxVersion = "3.6.3"
val awsSdkVersion = "2.3.7"
val junit5Version = "5.4.0"
val logbackVersion = "1.2.3"
val integrationOption = "tests.integration"
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.jaredsburrows:gradle-license-plugin:0.8.42")
}
}
plugins {
java
jacoco
maven
`java-library`
id("com.jaredsburrows.license") version("0.8.42")
id("org.sonarqube") version "2.6"
}
group = "io.reactiverse"
version = "0.0.1-SNAPSHOT"
tasks.withType<JavaCompile> {
sourceCompatibility = JavaVersion.VERSION_1_8.toString()
}
repositories {
mavenCentral()
}
dependencies {
api("io.vertx:vertx-core:$vertxVersion")
api("software.amazon.awssdk:aws-core:$awsSdkVersion")
testImplementation("io.vertx:vertx-junit5:$vertxVersion")
testImplementation("io.vertx:vertx-rx-java2:$vertxVersion")
testImplementation("cloud.localstack:localstack-utils:0.1.15")
testImplementation("ch.qos.logback:logback-classic:$logbackVersion")
testImplementation("ch.qos.logback:logback-core:$logbackVersion")
testImplementation("software.amazon.awssdk:aws-sdk-java:$awsSdkVersion")
testCompile("org.junit.jupiter:junit-jupiter-engine:$junit5Version")
}
tasks.withType<Test> {
useJUnitPlatform()
systemProperties[integrationOption] = System.getProperty(integrationOption)
}
jacoco {
toolVersion = "0.8.2"
}
tasks.jacocoTestReport {
dependsOn(":test")
reports {
xml.isEnabled = true
csv.isEnabled = false
html.destination = file("$buildDir/jacocoHtml")
}
}
tasks.withType<Wrapper> {
gradleVersion = "5.1.1"
}