-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
52 lines (41 loc) · 1.09 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
import org.jetbrains.dokka.gradle.*
plugins {
kotlin("jvm") version "2.0.20"
id("org.jetbrains.kotlinx.atomicfu") version "0.26.1"
id("org.jetbrains.dokka") version "1.9.20"
`maven-publish`
}
group = "com.moshy.containers"
version = "0.4.0"
repositories {
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.10.1")
testImplementation("org.jetbrains.kotlin:kotlin-test-junit:2.0.20")
testImplementation(platform("org.junit:junit-bom:5.10.2"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation(kotlin("reflect"))
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.test {
useJUnitPlatform()
}
tasks.dokkaHtml {
outputDirectory.set(layout.buildDirectory.dir("documentation/html"))
}
java {
withJavadocJar()
withSourcesJar()
}
kotlin {
jvmToolchain(8)
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
}
}
}