-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
56 lines (47 loc) · 1.37 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
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins {
alias(libs.plugins.kotlin)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.shadow)
}
group = "cz.drekorian"
version = "beta7"
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(libs.kotlin.logging)
implementation(libs.kotlin.logging.jvm)
implementation(libs.kotlinx.coroutines.core)
implementation(libs.ktor.client.cio)
implementation(libs.ktor.client.contentNegotiation)
implementation(libs.ktor.client.core)
implementation(libs.ktor.client.logging)
implementation(libs.ktor.client.serialization)
implementation(libs.ktor.serialization.kotlinx.json)
implementation(libs.sl4j.simple)
testImplementation(libs.junit)
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlin {
tasks {
shadowJar {
archiveBaseName.set(rootProject.name)
archiveClassifier.set("")
archiveVersion.set("${project.version}")
archiveAppendix.set("all")
manifest {
attributes("Main-Class" to "${project.group}.avonfetcher.Main")
}
mergeServiceFiles()
}
}
compilerOptions {
jvmTarget.set(JvmTarget.JVM_1_8)
}
}