summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2018-02-02 01:18:03 +0100
committercyBerta <cyberta@riseup.net>2018-02-02 01:18:03 +0100
commit55abdcc6ec0773864ac16a74880c40c929e12c1d (patch)
treeb4ab16ab95a8d4a6e67f2f110d5cb74d8b19566a /app
parent6c354ccbe8640e3959d97610ebc33e08de863821 (diff)
#8832 add gradle task for license issue
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()