-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
71 lines (52 loc) · 1.7 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
66
67
68
69
70
71
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
plugins {
kotlin("jvm") version "2.1.0"
kotlin("plugin.serialization") version "2.1.0"
id("org.jetbrains.dokka") version "2.0.0"
id("org.hildan.kotlin-publish") version "1.7.0"
`maven-publish`
}
val host = "github.com/TheFruxz/Ascend"
version = "2024.2.2"
group = "dev.fruxz"
repositories {
mavenCentral()
}
dependencies {
// Kotlin
testImplementation(kotlin("test"))
implementation(kotlin("reflect"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1")
implementation("org.jetbrains.exposed:exposed-core:0.57.0")
implementation("org.jetbrains.exposed:exposed-dao:0.57.0")
implementation("org.jetbrains.exposed:exposed-jdbc:0.57.0")
implementation("org.pkl-lang:pkl-config-kotlin:0.27.1")
}
publishing {
repositories {
mavenLocal()
maven("https://repo.fruxz.dev/releases") {
name = "fruxz.dev"
credentials {
username = project.findProperty("fruxz.dev.user") as? String? ?: System.getenv("FRUXZ_DEV_USER")
password = project.findProperty("fruxz.dev.secret") as? String? ?: System.getenv("FRUXZ_DEV_SECRET")
}
}
}
}
tasks {
compileKotlin {
compilerOptions {
freeCompilerArgs.add("-opt-in=kotlinx.serialization.ExperimentalSerializationApi")
apiVersion.set(KotlinVersion.KOTLIN_2_0)
languageVersion.set(KotlinVersion.KOTLIN_2_0)
}
}
dokkaHtml.configure {
outputDirectory.set(layout.projectDirectory.dir("docs"))
}
}
kotlin {
jvmToolchain(21)
}