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,
|
# 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.
|
# 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
|
# @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)
|
# 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
|
// below
|
||||||
classpath "org.apache.openjpa:openjpa:$openJPAVersion"
|
classpath "org.apache.openjpa:openjpa:$openJPAVersion"
|
||||||
classpath 'com.radcortez.gradle:openjpa-gradle-plugin:3.1.0'
|
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"
|
classpath "com.github.spotbugs:spotbugs-gradle-plugin:2.0.1"
|
||||||
// Use Guava version 23+ as a workaround to spotbug intergration.
|
// Use Guava version 23+ as a workaround to spotbug intergration.
|
||||||
// See: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/128#issuecomment-535864882
|
// See: https://github.com/spotbugs/spotbugs-gradle-plugin/issues/128#issuecomment-535864882
|
||||||
@@ -175,11 +175,7 @@ jacocoTestReport{
|
|||||||
}
|
}
|
||||||
|
|
||||||
rat {
|
rat {
|
||||||
xmlOutput = false
|
|
||||||
htmlOutput = false
|
|
||||||
plainOutput = true
|
|
||||||
verbose = false
|
verbose = false
|
||||||
// inputDir = './..'
|
|
||||||
reportDir = new File(buildDir,'reports/rat')
|
reportDir = new File(buildDir,'reports/rat')
|
||||||
excludes = [
|
excludes = [
|
||||||
'**/licenses/**',
|
'**/licenses/**',
|
||||||
@@ -406,7 +402,6 @@ war {
|
|||||||
license {
|
license {
|
||||||
header rootProject.file('../APACHE_LICENSETEXT.md')
|
header rootProject.file('../APACHE_LICENSETEXT.md')
|
||||||
excludes([
|
excludes([
|
||||||
"**/rat-report.txt",
|
|
||||||
"**/git.properties",
|
"**/git.properties",
|
||||||
"**/*.html",
|
"**/*.html",
|
||||||
"**/*.mustache",
|
"**/*.mustache",
|
||||||
|
|||||||
Reference in New Issue
Block a user