-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
49 lines (40 loc) · 1.36 KB
/
build.gradle.kts
File metadata and controls
49 lines (40 loc) · 1.36 KB
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
plugins {
kotlin("jvm") version "1.6.0"
application
id("com.ncorti.ktfmt.gradle") version "0.7.0"
}
ktfmt {
kotlinLangStyle()
}
group = "org.bundleproject.api"
version = "0.1.2"
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
dependencies {
val ktorVersion: String by project
val kotlinVersion: String by project
val logbackVersion: String by project
implementation("guru.zoroark:ktor-rate-limit:0.0.2")
implementation("io.ktor:ktor-server-core:$ktorVersion")
implementation("io.ktor:ktor-client-core:$ktorVersion")
implementation("io.ktor:ktor-client-apache:$ktorVersion")
implementation("io.ktor:ktor-gson:$ktorVersion")
implementation("io.ktor:ktor-client-gson:$ktorVersion")
implementation("io.ktor:ktor-client-auth:$ktorVersion")
implementation("io.ktor:ktor-server-netty:$ktorVersion")
implementation("ch.qos.logback:logback-classic:$logbackVersion")
implementation("org.bundleproject:libversion:0.0.2")
testImplementation("io.ktor:ktor-server-tests:$ktorVersion")
testImplementation("org.jetbrains.kotlin:kotlin-test:$kotlinVersion")
}
application {
mainClass.set("org.bundleproject.api.ApplicationKt")
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
}
}
tasks.findByPath(":test")?.enabled = false