Skip to content

Commit dcdc10f

Browse files
committed
Updated documentation & build process
1 parent 88729b9 commit dcdc10f

File tree

7 files changed

+15
-64
lines changed

7 files changed

+15
-64
lines changed

.classpath

Lines changed: 0 additions & 32 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ rebel.xml
1313
.settings/
1414
bin/
1515
lombok.config
16+
.classpath
17+
.project
1618
*.fpr

.project

Lines changed: 0 additions & 23 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ This Fortify SSC parser plugin allows for importing scan results from OWASP Depe
88
_Beta versions may be unstable or non-functional. The `*-licenseReport.zip` and `*-dependencySources.zip` files are for informational purposes only and do not need to be downloaded._
99
* **Release versions**: https://bintray.com/package/files/fortify-ps/binaries/fortify-ssc-parser-owasp-dependency-check-release?order=desc&sort=fileLastModified&basePath=&tab=files
1010
* **Beta versions**: https://bintray.com/package/files/fortify-ps/binaries/fortify-ssc-parser-owasp-dependency-check-beta?order=desc&sort=fileLastModified&basePath=&tab=files
11-
* **Sample input files**: [src/test/resources](src/test/resources)
11+
* **Sample input files**: [sampleData](sampleData)
12+
* **GitHub**: https://github.com/fortify-ps/fortify-ssc-parser-owasp-dependency-check
1213
* **Automated builds**: https://travis-ci.com/fortify-ps/fortify-ssc-parser-owasp-dependency-check
1314
* **OWASP Dependency Check website**: https://owasp.org/www-project-dependency-check/
1415

build.gradle

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,21 @@ ext {
2828
}
2929

3030
apply from: "${gradleHelpersLocation}/ssc-parser-plugin-helper.gradle"
31-
apply from: "${gradleHelpersLocation}/dependency-sources-licenses-helper.gradle"
31+
apply from: "${gradleHelpersLocation}/thirdparty-helper.gradle"
3232
apply from: "${gradleHelpersLocation}/bintray-binaries-helper.gradle"
3333
apply from: "${gradleHelpersLocation}/readme2html.gradle"
3434

3535
apply plugin: 'java'
3636
sourceCompatibility = 1.8
3737

38+
sourceSets {
39+
test {
40+
resources {
41+
srcDir "sampleData"
42+
}
43+
}
44+
}
45+
3846
configurations.all {
3947
// Don't cache modules that may change (i.e. snapshots)
4048
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
@@ -52,23 +60,18 @@ task dist(type: Zip) {
5260
include "${rootProject.name}-${project.version}.jar"
5361
}
5462
from "${buildDir}/html"
55-
from("${projectDir}/src/test/resources") {
56-
into 'sampleData'
57-
}
5863
from("${projectDir}") {
64+
include "sampleData/**/*"
5965
include "LICENSE.TXT"
6066
}
6167
}
6268

6369
bintray {
6470
filesSpec {
6571
from("${buildDir}/dist") {
66-
include "${rootProject.name}-${project.version}.zip"
67-
}
68-
from("${buildDir}/thirdparty") {
6972
include "*.zip"
7073
}
7174
into '.'
7275
}
7376
}
74-
_bintrayRecordingCopy.dependsOn 'build', 'dist', 'packageDependencySourcesAndLicenses'
77+
_bintrayRecordingCopy.dependsOn 'clean', 'dist', 'distThirdParty'

0 commit comments

Comments
 (0)