-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
47 lines (35 loc) · 1016 Bytes
/
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
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.9.21"
id("com.github.johnrengelman.shadow") version "7.0.0"
}
group = "one.devos"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test")
implementation("dev.kord:kord-core:0.12.0")
implementation("org.seleniumhq.selenium:selenium-java:4.16.1")
implementation("org.seleniumhq.selenium:selenium-chrome-driver:4.16.1")
implementation("org.seleniumhq.selenium:selenium-devtools-v120:4.16.1")
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(21)
}
tasks.withType<ShadowJar> {
archiveFileName.set("Screenshitter.jar")
manifest {
attributes(
mapOf(
"Main-class" to "one.devos.MainKt",
"Implementation-Version" to project.version
)
)
}
}