mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 17:14:32 +01:00
Maintenance Tasks Added
This commit is contained in:
parent
e7a983fe00
commit
6fbd933b8f
36
maintenance-tasks/build.gradle.kts
Normal file
36
maintenance-tasks/build.gradle.kts
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
plugins {
|
||||||
|
kotlin("jvm")
|
||||||
|
kotlin("plugin.serialization")
|
||||||
|
application
|
||||||
|
}
|
||||||
|
|
||||||
|
group = "com.shabinder"
|
||||||
|
version = "1.0"
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
application {
|
||||||
|
mainClassName = "MainKt"
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
implementation("io.ktor:ktor-client-core:1.5.4")
|
||||||
|
implementation("io.ktor:ktor-client-apache:1.5.4")
|
||||||
|
implementation("io.ktor:ktor-client-serialization:1.5.4")
|
||||||
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.2.1")
|
||||||
|
// testDeps
|
||||||
|
testImplementation(kotlin("test-junit"))
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.test {
|
||||||
|
useJUnit()
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||||
|
kotlinOptions {
|
||||||
|
jvmTarget = "1.8"
|
||||||
|
useIR = true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user