Fix rat reports
This commit is contained in:
committed by
Michael Vorburger ⛑️
parent
c317db110f
commit
0a80195ac2
+1
-1
@@ -61,5 +61,5 @@ script:
|
||||
# using "&&" instead of several "-" means that integrationTest does not run if test fails,
|
||||
# and Docker test does not run if integration test fails, which makes PR failure easier to understand.
|
||||
# @see https://docs.travis-ci.com/user/job-lifecycle/#customizing-the-build-phase
|
||||
- ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest check && ./gradlew --console=plain integrationTest && sudo service mysql stop && docker-compose build && docker-compose up -d && sleep 30s && http --verify=no --timeout 240 --check-status get https://localhost:8443/fineract-provider/actuator/health
|
||||
- ./gradlew clean && ./gradlew --console=plain licenseMain licenseTest licenseIntegrationTest check && ./gradlew --console=plain integrationTest && sudo service mysql stop && docker-compose build && docker-compose up -d && sleep 30s && http --verify=no --timeout 240 --check-status get https://localhost:8443/fineract-provider/actuator/health
|
||||
# We stop the mysql system service when running the Docker test to avoid port 3306 conflicts (unless we run the mysql in docker-compose on another port; req. FINERACT-773)
|
||||
|
||||
@@ -43,7 +43,7 @@ buildscript {
|
||||
// below
|
||||
classpath "org.apache.openjpa:openjpa:$openJPAVersion"
|
||||
classpath 'com.radcortez.gradle:openjpa-gradle-plugin:3.1.0'
|
||||
classpath 'gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.2.2'
|
||||
classpath "org.nosphere.apache:creadur-rat-gradle:0.6.0"
|
||||
classpath "com.github.spotbugs:spotbugs-gradle-plugin:2.0.1"
|
||||
// Use Guava version 23+ as a workaround to spotbug intergration.
|
||||
// See: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/128#issuecomment-535864882
|
||||
@@ -175,11 +175,7 @@ jacocoTestReport{
|
||||
}
|
||||
|
||||
rat {
|
||||
xmlOutput = false
|
||||
htmlOutput = false
|
||||
plainOutput = true
|
||||
verbose = false
|
||||
// inputDir = './..'
|
||||
reportDir = new File(buildDir,'reports/rat')
|
||||
excludes = [
|
||||
'**/licenses/**',
|
||||
@@ -333,7 +329,7 @@ modernizer {
|
||||
|
||||
exclusions = []
|
||||
exclusionPatterns = [
|
||||
// To be removed when https://issues.apache.org/jira/browse/FINERACT-826 is fixed
|
||||
// To be removed when https://issues.apache.org/jira/browse/FINERACT-826 is fixed
|
||||
'org/joda/time/.*'
|
||||
]
|
||||
}
|
||||
@@ -406,7 +402,6 @@ war {
|
||||
license {
|
||||
header rootProject.file('../APACHE_LICENSETEXT.md')
|
||||
excludes([
|
||||
"**/rat-report.txt",
|
||||
"**/git.properties",
|
||||
"**/*.html",
|
||||
"**/*.mustache",
|
||||
|
||||
Reference in New Issue
Block a user