Skip to content

Commit

Permalink
removed smart smells and spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulnguyen committed Sep 28, 2022
1 parent c43b795 commit e099043
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 91 deletions.
45 changes: 0 additions & 45 deletions demos/demo5/umlparser_v1/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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'
}


46 changes: 0 additions & 46 deletions demos/demo5/umlparser_v2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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'
}


0 comments on commit e099043

Please sign in to comment.