-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
57 lines (49 loc) · 1.66 KB
/
build.gradle
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
plugins {
id "application"
id "org.jetbrains.kotlin.jvm" version "1.7.10"
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(18)
}
}
group "org.bookmc"
version "0.4.1"
mainClassName = "org.bookmc.ApplicationKt"
repositories {
mavenCentral()
maven {
url "https://jitpack.io"
}
maven {
url "https://maven.bookmc.org/releases/"
}
}
dependencies {
implementation "io.ktor:ktor-server-core:$ktor_version"
implementation "io.ktor:ktor-server-content-negotiation:$ktor_version"
implementation "io.ktor:ktor-server-netty:$ktor_version"
implementation "io.ktor:ktor-server-cors:$ktor_version"
implementation "io.ktor:ktor-server-status-pages:$ktor_version"
implementation "io.ktor:ktor-serialization-gson:$ktor_version"
implementation "io.ktor:ktor-server-call-logging:$ktor_version"
implementation "ch.qos.logback:logback-classic:$logback_version"
testImplementation "io.ktor:ktor-server-tests:$ktor_version"
testImplementation "org.jetbrains.kotlin:kotlin-test:$kotlin_version"
implementation "io.ktor:ktor-serialization-gson:$ktor_version"
implementation "io.ktor:ktor-client-content-negotiation:$ktor_version"
implementation("io.ktor:ktor-client-core:$ktor_version") {
exclude module: "kotlin-stdlib"
exclude module: "kotlin-stdlib-jdk8"
}
implementation("io.ktor:ktor-client-apache:$ktor_version") {
exclude module: "kotlin-stdlib"
exclude module: "kotlin-stdlib-jdk8"
}
implementation "org.bookmc:indexer:0.0.1+build.1"
}
compileKotlin {
kotlinOptions {
freeCompilerArgs += ["-Xopt-in=kotlin.RequiresOptIn"]
}
}