Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions libjava/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,25 @@ allprojects {
repositories {
jcenter()
}

apply plugin: 'checkstyle'

checkstyle {
toolVersion = "7.1.1"
configFile = "../../checkstyle.xml" as File
}

task checkstyle(type: Checkstyle) {
description 'Checks if the code adheres to coding standards'
group 'verification'
configFile file("../../checkstyle.xml")
source 'src'
include '**/*.java'
exclude '**/gen/**'
classpath = files()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

apply from: 'checkstyle.gradle'
}
16 changes: 0 additions & 16 deletions libjava/checkstyle.gradle

This file was deleted.