-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
51 lines (42 loc) · 1.28 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
apply {
`maven-publish`
}
kotlin("jvm") version "1.7.21"
kotlin("plugin.serialization") version "1.7.21"
id("se.patrikerdes.use-latest-versions") version "0.2.18"
id("com.github.ben-manes.versions") version "0.42.0"
}
group = "com.github.caffeine-moe"
version = "1.0.0"
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
publishing {
publications {
create<MavenPublication>("maven") {
groupId = "com.github.caffeine-moe"
artifactId = "octane"
version = "1.0.0"
from(components["java"])
}
}
}
dependencies {
testImplementation(kotlin("test"))
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.6.4")
implementation("io.ktor:ktor-client-core:2.3.4")
implementation("io.ktor:ktor-client-cio:2.3.4")
implementation("io.ktor:ktor-client-content-negotiation:2.3.4")
implementation("ch.qos.logback:logback-classic:1.4.11")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}