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:
committed by
Facebook GitHub Bot
parent
7096a302ed
commit
da765018ac
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user