mirror of https://github.com/apache/poi.git
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1901995 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
843f5df1db
commit
48ede69842
17
build.gradle
17
build.gradle
|
@ -30,16 +30,16 @@ buildscript {
|
|||
|
||||
dependencies {
|
||||
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:3.4.0.2513'
|
||||
classpath 'de.thetaphi:forbiddenapis:3.3'
|
||||
}
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'base'
|
||||
id "com.dorongold.task-tree" version "2.1.0"
|
||||
id('org.nosphere.apache.rat') version '0.7.1'
|
||||
id 'com.dorongold.task-tree' version '2.1.0'
|
||||
id 'org.nosphere.apache.rat' version '0.7.1'
|
||||
id 'distribution'
|
||||
id "com.github.spotbugs" version "5.0.8"
|
||||
id "com.github.spotbugs" version '5.0.8'
|
||||
id 'de.thetaphi.forbiddenapis' version '3.3'
|
||||
id 'com.github.jk1.dependency-license-report' version '2.0'
|
||||
}
|
||||
|
||||
|
@ -445,12 +445,17 @@ subprojects {
|
|||
signaturesFiles = files('../src/resources/devtools/forbidden-signatures.txt')
|
||||
ignoreFailures = false
|
||||
suppressAnnotations = [ 'org.apache.poi.util.SuppressForbidden' ]
|
||||
// forbiddenapis bundled signatures max supported version is 14
|
||||
// targetCompatibility = (JavaVersion.VERSION_14.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_14)
|
||||
}
|
||||
|
||||
forbiddenApisTest {
|
||||
// forbiddenapis bundled signatures max supported version is 17
|
||||
// also see https://github.com/policeman-tools/forbidden-apis/issues/191
|
||||
targetCompatibility = (JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_17)
|
||||
}
|
||||
|
||||
forbiddenApisMain {
|
||||
signaturesFiles += files('../src/resources/devtools/forbidden-signatures-prod.txt')
|
||||
targetCompatibility = (JavaVersion.VERSION_17.isCompatibleWith(JavaVersion.current()) ? JavaVersion.current() : JavaVersion.VERSION_17)
|
||||
}
|
||||
|
||||
task jenkins
|
||||
|
|
Loading…
Reference in New Issue