-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
48 lines (42 loc) · 1.12 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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.3.31"
id "org.jetbrains.dokka" version "0.9.18"
id 'maven-publish'
}
group = "com.github.stefan-jonasson"
version = "0.8.1"
sourceCompatibility = 1.8
repositories {
jcenter()
mavenCentral()
mavenLocal()
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect"
implementation "org.jsoup:jsoup:1.11.2"
implementation "org.apache.commons:commons-compress:1.16.1"
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:2.9.9"
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.9"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.4.2"
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.4.2"
}
dokka {
outputFormat = 'html'
outputDirectory = "$buildDir/javadoc"
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
}
}
repositories {
maven {
url = uri("$buildDir/repository")
}
}
}
test {
useJUnitPlatform()
}