Update top level project build scripts

This commit is contained in:
arkon
2020-04-25 14:30:14 -04:00
parent 3f63b320c4
commit 81b2dfd9d0
6 changed files with 74 additions and 21 deletions

View File

@ -6,7 +6,6 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.github.zellius.shortcut-helper'
apply plugin: "org.jmailen.kotlinter"
shortcutHelper.filePath = './shortcuts.xml'
@ -292,8 +291,7 @@ task copyResources(type: Copy) {
include '**/*'
}
preBuild.dependsOn(lintKotlin, copyResources)
lintKotlin.dependsOn(formatKotlin)
preBuild.dependsOn(ktlintFormat, copyResources)
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Standard")) {
apply plugin: 'com.google.gms.google-services'