-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
51 lines (42 loc) · 1.17 KB
/
build.gradle
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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.4.21"
id 'org.jetbrains.kotlin.plugin.serialization' version '1.4.21'
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'io.gitlab.arturbosch.detekt' version '1.14.2'
}
repositories {
jcenter()
}
compileKotlin {
kotlinOptions {
jvmTarget = "11"
useIR = true
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation 'com.xenomachina:kotlin-argparser:2.0.7'
// logging libs
implementation 'io.github.microutils:kotlin-logging-jvm:2.0.3'
runtimeOnly 'ch.qos.logback:logback-classic:1.2.3'
runtimeOnly 'org.fusesource.jansi:jansi:2.0.1'
// store settings as JSON
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.1'
// DOM parser deps
implementation 'org.jsoup:jsoup:1.13.1'
implementation 'com.github.lookfirst:sardine:5.10'
}
detekt {
version = '1.9.0'
input = files('src/main/kotlin')
config = files('gradle/detekt.yml')
}
check.dependsOn "detekt"
version '4.0.5'
jar {
manifest {
attributes(
'Main-Class': 'com.github.thetric.iliasdownloader.cli.CliKt'
)
}
}