-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle.kts
46 lines (39 loc) · 1.07 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
plugins {
kotlin("jvm") version "1.7.10"
id("org.jetbrains.dokka") version "1.7.10"
`maven-publish`
signing
}
allprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "org.jetbrains.dokka")
apply(plugin = "maven-publish")
apply(plugin = "signing")
group = "io.guthix"
repositories {
mavenCentral()
}
dependencies {
api(rootProject.deps.jagex.bytebuf.ext)
implementation(rootProject.deps.kotlin.logging)
dokkaHtmlPlugin(rootProject.deps.dokka.java)
testImplementation(rootProject.deps.logback.classic)
testImplementation(rootProject.deps.kotest.junit)
testImplementation(rootProject.deps.kotest.assert)
testImplementation(rootProject.deps.kotest.property)
}
tasks {
withType<Test> {
useJUnitPlatform()
}
}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(rootProject.deps.versions.jdk.get()))
}
}
java {
withJavadocJar()
withSourcesJar()
}
}