-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
49 lines (43 loc) · 1.25 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
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.13.6'
id "com.github.ben-manes.versions" version '0.41.0'
id 'org.graalvm.buildtools.native' version '0.9.7.1'
id 'java'
id 'eclipse'
id 'jacoco'
id 'application'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.1'
implementation 'commons-cli:commons-cli:1.5.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.assertj:assertj-core:3.22.0'
}
graalvmNative {
binaries {
main {
javaLauncher = javaToolchains.launcherFor {
languageVersion = JavaLanguageVersion.of(17)
vendor = JvmVendorSpec.matching("GraalVM Community")
}
configurationFileDirectories.from(file('native-config/run'))
}
test {
javaLauncher = graalvmNative.binaries.main.javaLauncher
}
}
}
scmVersion {
tag {
prefix = ''
}
hooks {
pre 'fileUpdate', [file: 'README.md', pattern: {v,p -> /($v)/}, replacement: {v, p -> "$v"}]
pre 'commit'
}
}
project.version = scmVersion.version
mainClassName = "com.github.otrosien.yamlmerge.YamlMergeApplication"