diff --git a/demos/demo5/umlparser_v1/build.gradle b/demos/demo5/umlparser_v1/build.gradle index 6dfd78d..2409c16 100644 --- a/demos/demo5/umlparser_v1/build.gradle +++ b/demos/demo5/umlparser_v1/build.gradle @@ -16,7 +16,6 @@ buildscript { plugins { id 'java' id 'com.github.johnrengelman.shadow' version '2.0.1' - id "com.github.spotbugs" version "1.6.2" } repositories { @@ -37,48 +36,4 @@ shadowJar { baseName = 'umlparser' } -/* Spot Bugs Configuration */ - -spotbugs { - ignoreFailures = true - toolVersion = "3.1.3" - sourceSets=[sourceSets.main] - excludeFilter = file("config/spotbugs/excludeFilter.xml") - reportsDir = file("$project.buildDir/reports/spotbugs") - effort = "max" -} - -tasks.withType(com.github.spotbugs.SpotBugsTask) { - reports { - xml.enabled false - html.enabled true - } -} - -/* Smart Smells Configuration */ - -repositories { - maven { - url "http://dl.bintray.com/arturbosch/code-analysis" - } -} - -configurations { - smartsmells -} - -task smartsmells(type: JavaExec) { - main = "io.gitlab.arturbosch.smartsmells.Main" - classpath = configurations.smartsmells - def input = "$project.projectDir.absolutePath/src/main" - def baseDir = "$project.projectDir/build/reports/" - def output = "$baseDir/smells/smartsmells.xml" - def params = [ '-i', input, '-o', output, '-fs', '-f', ".*/test/.*"] - args(params) -} - -dependencies { - smartsmells 'io.gitlab.arturbosch.smartsmells:SmartSmells:1.0.0.RC8' -} - diff --git a/demos/demo5/umlparser_v2/build.gradle b/demos/demo5/umlparser_v2/build.gradle index 6dfd78d..504aa56 100644 --- a/demos/demo5/umlparser_v2/build.gradle +++ b/demos/demo5/umlparser_v2/build.gradle @@ -16,7 +16,6 @@ buildscript { plugins { id 'java' id 'com.github.johnrengelman.shadow' version '2.0.1' - id "com.github.spotbugs" version "1.6.2" } repositories { @@ -37,48 +36,3 @@ shadowJar { baseName = 'umlparser' } -/* Spot Bugs Configuration */ - -spotbugs { - ignoreFailures = true - toolVersion = "3.1.3" - sourceSets=[sourceSets.main] - excludeFilter = file("config/spotbugs/excludeFilter.xml") - reportsDir = file("$project.buildDir/reports/spotbugs") - effort = "max" -} - -tasks.withType(com.github.spotbugs.SpotBugsTask) { - reports { - xml.enabled false - html.enabled true - } -} - -/* Smart Smells Configuration */ - -repositories { - maven { - url "http://dl.bintray.com/arturbosch/code-analysis" - } -} - -configurations { - smartsmells -} - -task smartsmells(type: JavaExec) { - main = "io.gitlab.arturbosch.smartsmells.Main" - classpath = configurations.smartsmells - def input = "$project.projectDir.absolutePath/src/main" - def baseDir = "$project.projectDir/build/reports/" - def output = "$baseDir/smells/smartsmells.xml" - def params = [ '-i', input, '-o', output, '-fs', '-f', ".*/test/.*"] - args(params) -} - -dependencies { - smartsmells 'io.gitlab.arturbosch.smartsmells:SmartSmells:1.0.0.RC8' -} - -