mirror of
https://github.com/jillingk/IssueRetrieval.git
synced 2026-03-10 08:01:22 +00:00
39 lines
930 B
Kotlin
39 lines
930 B
Kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
kotlin("jvm") version "1.5.31"
|
|
application
|
|
kotlin("plugin.serialization") version "1.5.31"
|
|
}
|
|
|
|
group = "me.jilling"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
val ktor_version = "1.6.7"
|
|
|
|
dependencies {
|
|
testImplementation(kotlin("test"))
|
|
implementation("org.jetbrains.kotlin:kotlin-script-runtime:1.5.31")
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.1")
|
|
implementation("io.ktor:ktor-client-core:$ktor_version")
|
|
implementation("io.ktor:ktor-client-cio:$ktor_version")
|
|
implementation("io.ktor:ktor-client-serialization:$ktor_version")
|
|
implementation("org.json:json:20200518")
|
|
implementation("org.apache.commons:commons-csv:1.5")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnit()
|
|
}
|
|
|
|
tasks.withType<KotlinCompile>() {
|
|
kotlinOptions.jvmTarget = "11"
|
|
}
|
|
|
|
application {
|
|
mainClassName = "MainKt"
|
|
}
|