Add checkstyle configuration and apply to all modules

This commit is contained in:
Sebastian Kürten
2022-08-22 11:37:07 +02:00
parent 7aafbdd715
commit 4496df723a
8 changed files with 57 additions and 0 deletions

View File

@@ -1,6 +1,10 @@
apply plugin: 'com.android.application'
apply plugin: 'witness'
apply from: 'witness.gradle'
apply plugin: 'checkstyle'
// Need to manually apply this as the Java plugin is not applied to this module hence this is not
// done automatically.
apply from: "${rootProject.rootDir}/gradle/checkstyle.gradle"
def getStdout = { command, defaultValue ->
def stdout = new ByteArrayOutputStream()