forked from yevster/App-BOM-ination
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
33 lines (25 loc) · 1.11 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* The AppBOMination build file.
* SPDXLicenseIdentifier: LGPL-2.0+ OR WTFPL
*/
apply plugin: 'java'
apply plugin: 'application'
mainClassName = "com.github.appbomination.Main"
repositories {
jcenter()
}
// In this section you declare the dependencies for your production and test code
dependencies {
// The production code uses the SLF4J logging API at compile time
compile 'org.slf4j:slf4j-api:1.7.21'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
// Let's add the famous Equifax vulnerability in here. Shame to exclude it.
compile group: 'org.apache.struts', name: 'struts2-core', version: '2.1.6'
// Also, let's add some GPL-ed MySQL JDBC connector (with Universal FOSS Exception)
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.11'
// Shouldn't we also be vulnerable to CVE-2014-3612? I think we should.
compile group: 'org.apache.activemq', name: 'activemq-broker', version: '5.8.0'
// A vulnerability AND LGPL? Yes please!
compile group: 'org.hibernate', name: 'hibernate-validator', version: '5.2.0.Final'
testCompile 'junit:junit:4.12'
}