-
Notifications
You must be signed in to change notification settings - Fork 41
/
build.gradle.kts
61 lines (49 loc) · 1.61 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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.4.32"
id("com.github.johnrengelman.shadow").version("7.0.0")
application
}
group = "me.tobse.tool"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
shadow(gradleApi())
implementation("org.seleniumhq.selenium:selenium-java:3.141.59")
implementation("org.seleniumhq.selenium:selenium-support:3.141.59")
implementation("io.github.microutils:kotlin-logging-jvm:2.0.6")
implementation("com.slack.api:slack-api-client:1.7.1")
implementation("com.sendgrid:sendgrid-java:4.0.1")
implementation("org.apache.commons:commons-email:1.4")
implementation("com.sun.mail:javax.mail:1.5.2")
implementation("javax.activation:activation:1.1.1")
implementation("org.slf4j:slf4j-simple:1.7.30")
implementation("com.github.elbekD:kt-telegram-bot:1.3.8")
implementation("io.github.bonigarcia:webdrivermanager:4.4.3")
testImplementation(kotlin("test-junit5"))
testImplementation("org.junit.jupiter:junit-jupiter-api:5.6.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.0")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
application() {
applicationName = "ImpfBot"
mainClass.set("de.tfr.impf.StartKt")
}
// Configure Shadow to output with normal jar file name:
tasks.named<ShadowJar>("shadowJar").configure {
minimize()
}
tasks {
build {
dependsOn(shadowJar)
}
}