-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
33 lines (27 loc) · 899 Bytes
/
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
def sourceProjects() {
// define projects containing source code
return subprojects.findAll { new File(it.projectDir, 'src').exists() }
}
configure(sourceProjects()) {
apply plugin: 'java'
apply plugin: 'maven'
repositories {
mavenCentral()
}
group = "${projectGroup}"
version = "${projectVersion}"
sourceCompatibility = 1.11
dependencies {
implementation "com.google.guava:guava:${guavaVersion}"
implementation "org.apache.logging.log4j:log4j-api:${log4jVersion}"
implementation "org.apache.logging.log4j:log4j-core:${log4jVersion}"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonYamlVersion}"
testImplementation "junit:junit:${junitVersion}"
annotationProcessor "org.apache.logging.log4j:log4j-core:${log4jVersion}"
}
}
configurations.all {
resolutionStrategy {
force 'xml-apis:xml-apis:1.4.01'
}
}