-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
49 lines (39 loc) · 1013 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
45
46
47
48
49
plugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
id 'jacoco'
id 'idea'
}
group 'com.clubobsidian'
version '0.6.2-SNAPSHOT'
tasks.withType(JavaCompile) {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
}
def junitVersion = '5.8.2'
test {
useJUnitPlatform()
}
dependencies {
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.0"
testImplementation "org.junit.jupiter:junit-jupiter-api:$junitVersion"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junitVersion"
}
jacocoTestReport {
reports {
xml.enabled true
html.enabled false
html.destination file("${buildDir}/jacocoHtml")
}
}
task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
from javadoc.destinationDir
}
artifacts {
archives javadocJar
}