-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
68 lines (54 loc) · 1.55 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.10'
id 'org.jetbrains.dokka' version '1.4.10'
}
group 'ar.com.florius'
version '1.0-SNAPSHOT'
//noinspection GroovyUnusedAssignment
sourceCompatibility = 1.8
allprojects {
repositories {
jcenter()
}
}
subprojects {
version = '1.0'
}
task stage(dependsOn: [':server:stage'])
test {
useJUnitPlatform()
}
configure([compileKotlin, compileTestKotlin]) {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = ["-Xinline-classes"]
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
implementation 'com.google.code.gson:gson:2.8.6'
implementation 'io.arrow-kt:arrow-core:0.11.0'
implementation 'io.arrow-kt:arrow-syntax:0.11.0'
testImplementation 'io.kotest:kotest-runner-junit5-jvm:4.2.5'
testImplementation 'io.kotest:kotest-assertions-core-jvm:4.2.5'
testImplementation 'io.kotest:kotest-assertions-arrow-jvm:4.2.5'
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.named("dokkaHtml") {
moduleName.set("koncierge")
dokkaSourceSets {
configureEach {
includeNonPublic.set(false)
skipEmptyPackages.set(true)
includes.from("module.md")
sourceRoot.from(file("src"))
sourceLink {
localDirectory.set(file("src/main/kotlin"))
remoteUrl.set(java.net.URL("https://github.com/jazcarate/koncierge/tree/main/src/main/kotlin"))
remoteLineSuffix.set("#L")
}
}
}
}