plugins {
    id("com.diffplug.gradle.spotless")
}

apply(from = "$rootDir/gradle/travis-ci.gradle.kts")
apply(from = "$rootDir/gradle/lgtm.gradle.kts")

allprojects {
    apply(plugin = "com.diffplug.gradle.spotless")

    repositories {
        mavenCentral()
    }

    spotless {
        kotlinGradle {
            ktlint()
        }

        project.plugins.withType(JavaPlugin::class) {
            java {
                licenseHeaderFile("$rootDir/gradle/spotless/license.java")
                googleJavaFormatAosp(project)
            }
        }
    }

    tasks.withType<JavaCompile>().configureEach {
        options.encoding = "utf-8"
        options.compilerArgs = listOf("-Xlint:all", "-Xlint:-path", "-Xlint:-options", "-Werror")
    }
}
plugins {
    id("com.diffplug.gradle.spotless")
    id("com.github.ben-manes.versions") version "0.27.0"
}

apply(from = "$rootDir/gradle/travis-ci.gradle.kts")
apply(from = "$rootDir/gradle/lgtm.gradle.kts")

allprojects {
    apply(plugin = "com.diffplug.gradle.spotless")
    apply(plugin = "com.github.ben-manes.versions")

    repositories {
        mavenCentral()
    }

    spotless {
        kotlinGradle {
            ktlint()
        }

        project.plugins.withType(JavaPlugin::class) {
            java {
                licenseHeaderFile("$rootDir/gradle/spotless/license.java")
                googleJavaFormatAosp(project)
            }
        }
    }

    tasks.withType<JavaCompile>().configureEach {
        options.encoding = "utf-8"
        options.compilerArgs = listOf("-Xlint:all", "-Xlint:-path", "-Xlint:-options", "-Werror")
    }
}
Add Gradle Task to Check Dependency Updates
Add Gradle Task to Check Dependency Updates

Can be run as:
- `./gradlew addOns:ascanrules:dependencyUpdates`
- `./gradlew dependencyUpdates`

Signed-off-by: kingthorin <83ea41af2b636790c02743e48206546e1fa891e4@users.noreply.github.com>
thc202/zap-extensions,secdec/zap-extensions,zaproxy/zap-extensions,secdec/zap-extensions,zapbot/zap-extensions,zaproxy/zap-extensions,veggiespam/zap-extensions,denniskniep/zap-extensions,psiinon/zap-extensions,secdec/zap-extensions,denniskniep/zap-extensions,veggiespam/zap-extensions,veggiespam/zap-extensions,veggiespam/zap-extensions,secdec/zap-extensions,denniskniep/zap-extensions,kingthorin/zap-extensions,zapbot/zap-extensions,kingthorin/zap-extensions,secdec/zap-extensions,denniskniep/zap-extensions,kingthorin/zap-extensions,zapbot/zap-extensions,psiinon/zap-extensions,kingthorin/zap-extensions,denniskniep/zap-extensions,secdec/zap-extensions,zaproxy/zap-extensions,zaproxy/zap-extensions,thc202/zap-extensions,psiinon/zap-extensions,veggiespam/zap-extensions,denniskniep/zap-extensions,thc202/zap-extensions,zapbot/zap-extensions,kingthorin/zap-extensions,thc202/zap-extensions,secdec/zap-extensions,psiinon/zap-extensions,thc202/zap-extensions,kingthorin/zap-extensions,zaproxy/zap-extensions,zapbot/zap-extensions,veggiespam/zap-extensions,zapbot/zap-extensions,psiinon/zap-extensions,zaproxy/zap-extensions,psiinon/zap-extensions,thc202/zap-extensions