-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (42 loc) · 1.15 KB
/
Copy pathbuild.gradle
File metadata and controls
51 lines (42 loc) · 1.15 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'de.thetaphi:forbiddenapis:3.9'
}
}
apply plugin: 'java'
apply plugin: 'de.thetaphi.forbiddenapis'
apply plugin: 'jacoco'
java {
toolchain {
sourceCompatibility = JavaVersion.VERSION_17
}
}
repositories {
mavenCentral()
}
forbiddenApis {
suppressAnnotations = ['org.dstadler.commons.util.SuppressForbidden']
bundledSignatures = [ 'jdk-reflection', 'commons-io-unsafe-2.8.0' ]
}
forbiddenApisMain {
bundledSignatures += [ 'jdk-deprecated', 'jdk-internal', 'jdk-non-portable' ]
}
dependencies {
implementation 'commons-io:commons-io:2.19.0'
implementation 'org.apache.commons:commons-lang3:3.17.0'
implementation 'org.dstadler:commons-dost:1.4.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.13.0'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.13.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.13.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.13.0'
testImplementation 'org.dstadler:commons-test:1.0.0.22'
}
wrapper {
gradleVersion = '8.14.2'
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
}