-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle
65 lines (55 loc) · 2.17 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
buildscript {
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springbootVersion}")
}
}
plugins {
id "com.github.jk1.dependency-license-report" version "${dependencyLicenseReport}"
id "com.github.hierynomus.license" version "${hierynomusLicense}"
id "org.sonarqube" version "${sonarqube}"
id 'net.researchgate.release' version "${gradleRelease}"
}
release {
failOnCommitNeeded = false
failOnUpdateNeeded = false
failOnSnapshotDependencies = false
}
allprojects {
// TODO remove
apply plugin: 'maven-publish'
apply plugin: "com.github.hierynomus.license"
apply plugin: 'eclipse'
apply plugin: 'idea'
group = 'com.demandware.carbonj'
license {
header rootProject.file('LICENSE-HEADER-JAVA')
exclude "**/banner.txt"
// include "**/*.conf"
}
}
subprojects {
apply plugin: 'java'
sourceCompatibility = 17
targetCompatibility = 17
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
configurations.all {
}
dependencies {
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: "${jackson}"
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jackson}"
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: "${jackson}"
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-smile', version: "${jackson}"
implementation group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-cbor', version: "${jackson}"
implementation group: 'com.google.re2j', name: 're2j', version: "${re2j}"
testImplementation group: 'org.powermock', name: 'powermock-module-javaagent', version: "${powermock}"
testImplementation group: 'org.jacoco', name: 'org.jacoco.agent', version: "${jacoco}", classifier: 'runtime'
testImplementation group: 'org.powermock', name: 'powermock-core', version: "${powermock}"
testImplementation("org.junit.jupiter:junit-jupiter:${junit}")
}
}