forked from batoulapps/adhan-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
44 lines (39 loc) · 846 Bytes
/
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
plugins {
id 'java'
id 'jacoco'
id 'org.jetbrains.kotlin.jvm'
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
test {
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
xml.enabled true
xml.destination file("${buildDir}/reports/jacoco/report.xml")
}
}
dependencies {
testImplementation 'junit:junit:4.13.1'
testImplementation 'com.squareup.okio:okio:2.10.0'
testImplementation 'com.google.truth:truth:1.1.2'
testImplementation 'com.squareup.moshi:moshi:1.11.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}