-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
39 lines (32 loc) · 982 Bytes
/
build.gradle.kts
File metadata and controls
39 lines (32 loc) · 982 Bytes
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
plugins {
kotlin("jvm") version "2.3.0"
application
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.mariadb.jdbc:mariadb-java-client:3.5.7")
implementation("org.eclipse.jgit:org.eclipse.jgit:7.5.0.202512021534-r")
implementation("org.apache.commons:commons-compress:1.28.0")
implementation("org.slf4j:slf4j-api:2.0.17")
implementation("ch.qos.logback:logback-classic:1.5.23")
}
// Use the root level for files
sourceSets {
main {
kotlin.srcDirs(".")
}
}
tasks.register<JavaExec>("deployCoop") {
group = "application"
description = "Deploy coop"
classpath = sourceSets.main.get().runtimeClasspath
mainClass.set("com.faforever.coopdeployer.CoopDeployerKt")
}
tasks.register<JavaExec>("deployCoopMaps") {
group = "application"
description = "Deploy coop maps"
classpath = sourceSets.main.get().runtimeClasspath
mainClass.set("com.faforever.coopmapdeployer.CoopMapDeployerKt")
}