This repository was archived by the owner on Apr 4, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (47 loc) · 1.61 KB
/
build.gradle
File metadata and controls
58 lines (47 loc) · 1.61 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
plugins {
id "idea"
id 'java'
id 'java-library' // TODO: Can be removed if this project is not used for java library
id "com.github.spotbugs" version "6.4.8" apply false
id "org.owasp.dependencycheck" version "8.4.3" apply false
id "com.diffplug.spotless" version "6.25.0" apply false
id "io.freefair.lombok" version "8.14.2"
id "info.solidsoft.pitest" version "1.19.0" apply false
id "com.github.jk1.dependency-license-report" version "2.9"
id "com.github.ben-manes.versions" version "0.53.0"
}
ext {
assertjVersion = "3.27.7"
junitVersion = "5.13.4"
}
repositories {
mavenCentral()
}
dependencies {
testImplementation "org.assertj:assertj-core:${assertjVersion}"
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
}
group = "com.suman" // TODO: Update group name
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
tag {
message fromMandatorySystemProperty('message')
}
import com.github.jk1.license.render.*
licenseReport {
renderers = [new InventoryHtmlReportRenderer()]
allowedLicensesFile = file("${projectDir}/gradle/config/allowedLicence.json")
}
check.finalizedBy checkLicense
apply from: "${rootDir}/gradle/spotless.gradle"
apply from: "${rootDir}/gradle/spotbugs.gradle"
apply from: "${rootDir}/gradle/dependencycheck.gradle"
apply from: "${rootDir}/gradle/checkstyle.gradle"
apply from: "${rootDir}/gradle/pmd.gradle"
apply from: "${rootDir}/gradle/jacoco.gradle"
apply from: "${rootDir}/gradle/test.gradle"
apply from: "${rootDir}/gradle/pitest.gradle"
apply from: "${rootDir}/gradle/mavenPublish.gradle"