Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #290 from h3xstream/master
Gradle build to generate the CLI version of FSB
- Loading branch information
Showing
7 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Find Security Bugs - Command Line Version | ||
|
||
The latest package version is made available in the release section : https://github.com/find-sec-bugs/find-sec-bugs/releases | ||
|
||
## Building the package | ||
|
||
``` | ||
gradle copyRuntimeLibs | ||
``` | ||
|
||
The spotbugs dependencies and the latest FindSecurityBugs plugin will be place in the lib directory. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apply plugin: 'java' | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
compile 'com.github.spotbugs:spotbugs:3.1.0-RC1' | ||
compile 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.6.0' | ||
} | ||
|
||
task copyRuntimeLibs(type: Copy) { | ||
into "lib" | ||
from configurations.runtime | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@echo off | ||
java -jar findbugs.jar -quiet -pluginList findsecbugs-1.4.6.jar %* | ||
java -cp lib/* edu.umd.cs.findbugs.LaunchAppropriateUI -quiet -pluginList lib/findsecbugs-plugin-1.6.0.jar -include include.xml %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
@echo off | ||
java -jar findbugs.jar -quiet -pluginList findsecbugs-1.4.4.jar $@ | ||
java -cp lib/\* edu.umd.cs.findbugs.LaunchAppropriateUI -quiet -pluginList lib/findsecbugs-plugin-1.6.0.jar -include include.xml $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<FindBugsFilter> | ||
<Match> | ||
<Bug category="SECURITY"/> | ||
</Match> | ||
</FindBugsFilter> |