-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (33 loc) · 1.06 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
plugins {
kotlin("multiplatform") version Versions.kotlinVersion
kotlin("plugin.serialization") version Versions.kotlinVersion
id("org.jetbrains.dokka") version Versions.dokkaVersion
}
group = "io.github.dragneelfps"
version = Ci.version
repositories {
jcenter()
maven(url = "https://kotlin.bintray.com/kotlinx/")
}
kotlin {
jvm()
sourceSets {
val jvmMain by getting {
dependencies {
implementation(Deps.KtorClient.okhttp)
implementation(Deps.KtorClient.logging)
implementation(Deps.KtorClient.websockets)
implementation(Deps.KtorClient.serialization)
implementation(Deps.coroutines)
implementation(Deps.serialization)
implementation(Deps.okhttp3)
implementation(Deps.logbackClassic)
}
}
}
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "11"
}
apply(plugin = "dokka-config")
apply(plugin = "publish-config")