-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
45 lines (37 loc) · 1.05 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
allprojects {
group = 'org.leadpony.justify'
version = '3.1.0-SNAPSHOT'
}
subprojects {
apply plugin: 'java'
compileJava {
doFirst {
options.encoding = 'UTF-8'
options.compilerArgs = [
'--module-path', classpath.asPath
]
classpath = files()
}
}
task copyDependencies(type: Copy) {
from configurations.runtimeClasspath
into "${buildDir}/libs"
}
task copyScripts(type: Copy) {
from 'src/main/scripts', 'src/main/json', 'src/main/yaml'
into "${buildDir}"
}
build.dependsOn copyDependencies, copyScripts
dependencies {
constraints {
implementation 'org.leadpony.justify:justify:3.1.0'
implementation 'jakarta.json.bind:jakarta.json.bind-api:2.0.0'
runtimeOnly 'org.glassfish:jakarta.json:2.0.0'
runtimeOnly 'org.eclipse:yasson:2.0.0-M2'
runtimeOnly 'org.leadpony.joy:joy-yaml:2.1.0'
}
}
repositories {
mavenCentral()
}
}