forked from kukenio/kuken
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
45 lines (37 loc) · 1.12 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version Dependencies.kotlinVersion
}
val projectGroup = "me.devnatan.katan"
val projectVersion = "0.0.1"
group = projectGroup
version = projectVersion
allprojects {
group = projectGroup
version = projectVersion
apply(plugin = "org.jetbrains.kotlin.jvm")
repositories {
mavenCentral()
jcenter()
maven(Repositories.jitpack)
maven(Repositories.kotlinExposed)
maven(Repositories.eventKt)
}
dependencies {
implementation(kotlin("stdlib"))
implementation(kotlin("reflect"))
implementation(Dependencies.Coroutines.coreArtifact)
implementation(Dependencies.Serialization.jsonArtifact)
implementation(Dependencies.Koin.core)
implementation(Dependencies.Koin.slf4j)
testImplementation(Dependencies.Koin.test)
}
tasks {
withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn", "-Xinline-classes")
jvmTarget = "1.8"
}
}
}
}