-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathbuild.gradle.kts
55 lines (46 loc) · 1.25 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
plugins {
java
application
alias(libs.plugins.shadow)
alias(libs.plugins.versions)
alias(libs.plugins.versionsFilter)
}
versionsFilter {
exclusiveQualifiers.addAll("dev", "eap", "beta", "alpha")
}
tasks.wrapper {
gradleVersion = "8.11.1"
distributionType = Wrapper.DistributionType.ALL
}
repositories {
mavenCentral()
}
dependencies {
// logging
implementation(libs.slf4j.api)
implementation(libs.slf4j.log4j)
implementation(libs.slf4j.jcl)
implementation(libs.slf4j.jul)
implementation(libs.logback)
implementation(libs.janino)
// app specific
implementation(libs.undertow)
implementation(libs.snakeyaml)
implementation(libs.jackson.databind)
implementation(libs.jackson.datatype.jsr310)
implementation(libs.jackson.dataformat.yaml)
implementation(libs.jackson.dataformat.xml)
}
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
application {
mainClass.set("com.kvaster.iptv.App")
}
configurations.forEach {
it.exclude("org.apache.httpcomponents", "httpclient")
it.exclude("org.apache.httpcomponents", "httpcore")
it.exclude("com.sun.mail", "javax.mail")
it.exclude("javax.activation", "activation")
}