Apply google formatter before each build
This commit is contained in:
parent
8f3c092f80
commit
87148b8fda
1 changed files with 2 additions and 1 deletions
|
@ -129,4 +129,5 @@ spotless {
|
||||||
googleJavaFormat('1.6').aosp()
|
googleJavaFormat('1.6').aosp()
|
||||||
removeUnusedImports()
|
removeUnusedImports()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
project.tasks['preBuild'].dependsOn 'spotlessApply'
|
||||||
|
|
Loading…
Reference in a new issue