-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
68 lines (58 loc) · 2.07 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "2.0.20"
application
kotlin("plugin.serialization").version("1.8.0")
}
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
dependencies {
val ktor_version = "3.0.0"
implementation("io.ktor:ktor-server-core-jvm:$ktor_version")
implementation("io.ktor:ktor-server-netty-jvm:$ktor_version")
implementation("io.ktor:ktor-server-status-pages-jvm:$ktor_version")
implementation("io.ktor:ktor-server-default-headers-jvm:$ktor_version")
implementation("io.ktor:ktor-server-content-negotiation:$ktor_version")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version")
implementation("io.ktor:ktor-serialization-kotlinx-xml:$ktor_version")
implementation("io.ktor:ktor-serialization-kotlinx-cbor:$ktor_version")
implementation("io.ktor:ktor-serialization-kotlinx-protobuf:$ktor_version")
implementation("io.ktor:ktor-client-content-negotiation:$ktor_version")
implementation("io.ktor:ktor-server-call-logging:$ktor_version")
implementation("io.ktor:ktor-network-tls-certificates:$ktor_version")
implementation("org.slf4j:slf4j-log4j12:2.0.6")
implementation("com.github.teamnewpipe.NewPipeExtractor:extractor:v0.23.1")
implementation("xyz.gianlu.librespot:librespot-lib:1.6.4")
implementation("io.github.tiefensuche:spotify-kt:0.1")
implementation("com.tiefensuche:tidal-kt:0.2.0")
testImplementation(kotlin("test"))
implementation(kotlin("stdlib-jdk8"))
}
repositories {
maven {
url = uri("https://maven.pkg.github.com/0xf4b1/tidal-kt")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(11)
}
application {
mainClass.set("MainKt")
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}