-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
64 lines (52 loc) · 2.33 KB
/
build.gradle.kts
File metadata and controls
64 lines (52 loc) · 2.33 KB
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
62
63
64
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "2.1.10"
id("com.github.johnrengelman.shadow") version "8.1.1"
application
}
group = "org.variantsync.core"
version = "0.2.0"
repositories {
mavenLocal()
mavenCentral()
maven(url = "file:///${project.projectDir}/local-maven-repo")
}
dependencies {
implementation("org.variantsync.vevos:simulation:2.0.0")
// https://mvnrepository.com/artifact/org.apache.commons/commons-configuration2
implementation("org.apache.commons:commons-configuration2:2.9.0")
implementation("commons-io:commons-io:2.20.0")
implementation("commons-logging:commons-logging:1.3.1")
// https://mvnrepository.com/artifact/commons-beanutils/commons-beanutils
implementation("commons-beanutils:commons-beanutils:1.9.4")
implementation("org.tinylog:tinylog-api-kotlin:2.6.2")
implementation("org.tinylog:tinylog-impl:2.6.2")
// https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit
implementation("org.eclipse.jgit:org.eclipse.jgit:6.8.0.202311291450-r")
implementation("org.sat4j:core:2.3.5")
implementation("org.jetbrains:annotations:24.0.1")
implementation("net.lingala.zip4j:zip4j:2.11.4")
implementation("org.variantsync:diffdetective:1.0.0")
implementation("org.slf4j:slf4j-api:2.0.5")
implementation("org.slf4j:slf4j-simple:2.0.5")
// https://mvnrepository.com/artifact/org.yaml/snakeyaml
implementation("org.yaml:snakeyaml:2.2")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.3")
implementation("com.fasterxml.jackson.core:jackson-databind:2.17.1")
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
}
tasks.create<ShadowJar>("Cherries") {
archiveBaseName.set("cherries")
archiveVersion.set("")
// Exclude signature files
exclude("META-INF/*.SF")
exclude("META-INF/*.DSA")
exclude("META-INF/*.RSA")
// Include the main source sets (classes and resources)
from(sourceSets.main.get().output)
configurations = listOf(project.configurations.runtimeClasspath.get())
manifest { attributes["Main-Class"] = "org.variantsync.evaluation.PatcherEvaluationMainKt" }
}
tasks.test { useJUnitPlatform() }
application { mainClass.set("Main") }