summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 9eca4753..edfa9439 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -326,6 +326,11 @@ task cleanNative( type: Delete ) {
}
}
+task updateSdkLicences ( type: Exec ) {
+ println "say yes to licenses"
+ commandLine 'sh', 'yes', '|', 'sdkmanager', '--licenses'
+}
+
def getCurrentFlavorForBetaOrRelease() {
Gradle gradle = getGradle()
String tskReqStr = gradle.getStartParameter().getTaskRequests().toString()