plugins {
    checkstyle
    findbugs
    pmd
    jdepend
    jacoco
    application
}

java {
    sourceCompatibility = JavaVersion.VERSION_1_7
    targetCompatibility = JavaVersion.VERSION_1_7
}

dependencies {
    testCompile("junit:junit:4.12")
}

checkstyle {
    configFile = file("config/checkstyle/sun_checks.xml")
    isIgnoreFailures = true
}

findbugs {
    isIgnoreFailures = true
}

pmd {
    isIgnoreFailures = true
}

jdepend {
    isIgnoreFailures = true
}

jacoco {
    toolVersion = "0.7.9"
}

tasks {
    jacocoTestCoverageVerification {
        violationRules {
            rule { limit { minimum = BigDecimal.valueOf(0.2) } }
        }
    }
    check {
        dependsOn(jacocoTestCoverageVerification)
    }
}

application {
    mainClassName = "samples.HelloWorld"
}

repositories {
    jcenter()
}

plugins {
    checkstyle
    findbugs
    pmd
    jdepend
    jacoco
    application
}

java {
    sourceCompatibility = JavaVersion.VERSION_1_7
    targetCompatibility = JavaVersion.VERSION_1_7
}

dependencies {
    testCompile("junit:junit:4.12")
}

checkstyle {
    toolVersion = "8.15"
    configFile = file("config/checkstyle/sun_checks.xml")
    isIgnoreFailures = true
}

findbugs {
    isIgnoreFailures = true
}

pmd {
    isIgnoreFailures = true
}

jdepend {
    isIgnoreFailures = true
}

jacoco {
    toolVersion = "0.8.2"
}

tasks {
    jacocoTestCoverageVerification {
        violationRules {
            rule { limit { minimum = BigDecimal.valueOf(0.2) } }
        }
    }
    check {
        dependsOn(jacocoTestCoverageVerification)
    }
}

application {
    mainClassName = "samples.HelloWorld"
}

repositories {
    jcenter()
}

Upgrade to Jacoco 0.8.2 and Checkstyle 8.15 for Java 11 compatibility
Upgrade to Jacoco 0.8.2 and Checkstyle 8.15 for Java 11 compatibility

Signed-off-by: Rodrigo B. de Oliveira <6dfa9cecb562e345739f2e4eb69e9ebd0fbff687@gradle.com>

gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle