File tree Expand file tree Collapse file tree
src/main/java/se/bjurr/violations/gradle/plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 id " java-gradle-plugin"
3- id " se.bjurr.gradle.bundle-gradle-binaryplugin" version " 1.+ "
3+ id " se.bjurr.gradle.bundle-gradle-binaryplugin"
44}
55
66staticCodeAnalysisExtension {
77 maxViolations. set(4 )
88}
99
1010dependencies {
11- api ' se.bjurr.violations:violations-git-lib-transitives:2.4.1 '
11+ api " se.bjurr.violations:violations-git-lib-transitives:2.5.0 "
1212}
Original file line number Diff line number Diff line change @@ -7,7 +7,5 @@ pluginManagement {
77}
88
99plugins {
10- id " se.bjurr.gradle.conventional-release" version " 0.+" apply false
11- id " se.bjurr.gradle.java-convention" version " 0.+" apply false
12- id " se.bjurr.gradle.update-versions" version " 0.+" apply false
10+ id " se.bjurr.gradle.bundle-gradle-binaryplugin" version " 1.1.1" apply false
1311}
Original file line number Diff line number Diff line change 1919import java .util .Set ;
2020import java .util .TreeSet ;
2121import java .util .logging .Level ;
22+ import java .util .stream .Collectors ;
23+
2224import javax .script .ScriptException ;
2325import org .gradle .api .DefaultTask ;
2426import org .gradle .api .logging .LogLevel ;
@@ -132,7 +134,7 @@ public void setViolations(final List<List<String>> violations) {
132134 .setPattern (pattern )
133135 .setReporter (reporter );
134136 })
135- .toList ();
137+ .collect ( Collectors . toList () );
136138
137139 this .violations .set (violationConfigs );
138140 }
You can’t perform that action at this time.
0 commit comments