forked from Guthix/Jagex-Store-5
-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
65 lines (52 loc) · 1.32 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
53
54
55
56
57
58
59
60
61
62
63
64
65
@file:Suppress("ConvertLambdaToReference", "UnstableApiUsage")
import io.guthix.js5.registerPublication
plugins {
idea
`maven-publish`
signing
id("org.jetbrains.dokka")
kotlin("jvm")
}
group = "io.guthix"
version = "0.4.0"
description = "A library for modifying Jagex Store 5 caches"
allprojects {
apply(plugin = "kotlin")
apply(plugin = "org.jetbrains.dokka")
repositories {
mavenCentral()
}
dependencies {
api(rootProject.libs.jagex.bytebuf)
implementation(rootProject.libs.kotlin.logging)
dokkaHtmlPlugin(rootProject.libs.dokka)
testImplementation(rootProject.libs.logback)
testImplementation(rootProject.libs.kotest.junit)
testImplementation(rootProject.libs.kotest.assert)
}
tasks {
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
}
withType<Test> {
useJUnitPlatform()
}
}
java {
withJavadocJar()
withSourcesJar()
}
}
dependencies {
implementation(libs.bouncycastle)
implementation(libs.tukaani.xz)
implementation(libs.apache.compress)
}
kotlin { explicitApi() }
registerPublication(
publicationName = "jagexStore5",
pomName = "jagex-store-5"
)