Skip to content

Commit

Permalink
Remove JavaNCSS gradle task
Browse files Browse the repository at this point in the history
JavaNCSS is no longer maintained and stopped
its support to Java 7...

Change-Id: I900e36f2dfc9f5b9746d5bc9afc3987a6314113b
  • Loading branch information
TheItivitist committed Aug 8, 2023
1 parent da0824f commit 77153fb
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ subprojects {
ext.sonatypePassword = ""
}

configurations {
javancss
}

configurations {
[compile, runtime]*.resolutionStrategy {
failOnVersionConflict()
Expand All @@ -63,7 +59,6 @@ subprojects {
testImplementation 'org.truth0:truth:0.23'
testImplementation 'com.google.jimfs:jimfs:1.1'
testImplementation 'org.jooq:joor:0.9.6'
javancss 'org.codehaus.javancss:javancss:33.54'
}

test {
Expand Down Expand Up @@ -133,26 +128,6 @@ subprojects {
// options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
// }

task javancss(dependsOn: 'classes') {
doLast {
ant {
logging.level = LogLevel.INFO
taskdef(name: 'javancss', classname: 'javancss.JavancssAntTask', classpath: configurations.javancss.asPath)
javancss(
srcdir: 'src/main/java',
abortOnFail: 'true',
generateReport: 'true',
packageMetrics: 'true',
classMetrics: 'false',
functionMetrics: 'false'
// outputFile: reportName,
)
}
}
}

assemble.dependsOn javancss

///////// Publish Artifacts
apply plugin: 'maven'
apply plugin: 'signing'
Expand Down

0 comments on commit 77153fb

Please sign in to comment.