Apply whitespace linter to all gradle files

Summary: Run whitespace and license linters on gradle build files.

Reviewed By: zertosh

Differential Revision: D25687355

fbshipit-source-id: 44330daac7582fed6c05680bffc74e855a9b1dbc
This commit is contained in:
Riley Dulin
2020-12-22 16:58:09 -08:00
committed by Facebook GitHub Bot
parent 7096a302ed
commit da765018ac

View File

@@ -138,7 +138,7 @@ afterEvaluate { project ->
android.libraryVariants.all { variant -> android.libraryVariants.all { variant ->
def name = variant.name.capitalize() def name = variant.name.capitalize()
def javaCompileTask = variant.javaCompileProvider.get() def javaCompileTask = variant.javaCompileProvider.get()
task "jar${name}"(type: Jar, dependsOn: javaCompileTask) { task "jar${name}"(type: Jar, dependsOn: javaCompileTask) {
from javaCompileTask.destinationDir from javaCompileTask.destinationDir
} }