@@ -3,8 +3,9 @@ plugins {
33}
44
55description = ' Kubeflow Exposed UI VulnDetector plugin.'
6- group = ' com.google.tsunami'
7- version = ' 0.0.1-SNAPSHOT'
6+ group ' com.google.tsunami'
7+ version ' 0.0.1-SNAPSHOT'
8+
89
910repositories {
1011 maven { // The google mirror is less flaky than mavenCentral()
@@ -14,55 +15,22 @@ repositories {
1415 mavenLocal()
1516}
1617
17- java {
18- sourceCompatibility = JavaVersion . VERSION_11
19- targetCompatibility = JavaVersion . VERSION_11
20-
21- jar. manifest {
22- attributes(' Implementation-Title' : name,
23- ' Implementation-Version' : version,
24- ' Built-By' : System . getProperty(' user.name' ),
25- ' Built-JDK' : System . getProperty(' java.version' ),
26- ' Source-Compatibility' : sourceCompatibility,
27- ' Target-Compatibility' : targetCompatibility)
18+ dependencies {
19+ implementation(" com.google.tsunami:tsunami-common" ) {
20+ version { branch = " stable" }
2821 }
29-
30- javadoc. options {
31- encoding = ' UTF-8'
32- use = true
33- links ' https://docs.oracle.com/javase/8/docs/api/'
22+ implementation(" com.google.tsunami:tsunami-plugin" ) {
23+ version { branch = " stable" }
3424 }
35-
36- // Log stacktrace to console when test fails.
37- test {
38- testLogging {
39- exceptionFormat = ' full'
40- showExceptions true
41- showCauses true
42- showStackTraces true
43- }
44- maxHeapSize = ' 1500m'
25+ implementation(" com.google.tsunami:tsunami-proto" ) {
26+ version { branch = " stable" }
4527 }
46- }
4728
48- ext {
49- tsunamiVersion = ' latest.release'
50- junitVersion = ' 4.13'
51- mockitoVersion = ' 2.28.2'
52- truthVersion = ' 1.0.1'
53- guiceVersion = ' 4.2.3'
54- }
55-
56- dependencies {
57- implementation " com.google.tsunami:tsunami-common:${ tsunamiVersion} "
58- implementation " com.google.tsunami:tsunami-plugin:${ tsunamiVersion} "
59- implementation " com.google.tsunami:tsunami-proto:${ tsunamiVersion} "
60-
61- testImplementation " junit:junit:${ junitVersion} "
62- testImplementation " com.google.inject:guice:${ guiceVersion} "
63- testImplementation " com.google.inject.extensions:guice-testlib:${ guiceVersion} "
64- testImplementation " org.mockito:mockito-core:${ mockitoVersion} "
65- testImplementation " com.google.truth:truth:${ truthVersion} "
66- testImplementation " com.google.truth.extensions:truth-java8-extension:${ truthVersion} "
67- testImplementation " com.google.truth.extensions:truth-proto-extension:${ truthVersion} "
68- }
29+ testImplementation " junit:junit:4.13"
30+ testImplementation " com.google.inject:guice:4.2.3"
31+ testImplementation " com.google.inject.extensions:guice-testlib:4.2.3"
32+ testImplementation " org.mockito:mockito-core:2.28.2"
33+ testImplementation " com.google.truth:truth:1.0.1"
34+ testImplementation " com.google.truth.extensions:truth-java8-extension:1.0.1"
35+ testImplementation " com.google.truth.extensions:truth-proto-extension:1.0.1"
36+ }
0 commit comments