You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cn...@apache.org on 2020/01/01 02:26:06 UTC

[incubator-weex-playground] branch master updated: fix gradle issue

This is an automated email from the ASF dual-hosted git repository.

cnryb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-playground.git


The following commit(s) were added to refs/heads/master by this push:
     new a1de3eb  fix gradle issue
a1de3eb is described below

commit a1de3ebe34bd3dac2dbfeec1206177c989050e52
Author: 任跃兵 <cn...@live.cn>
AuthorDate: Wed Jan 1 10:26:13 2020 +0800

    fix gradle issue
---
 android/gradle.properties       | 4 ++--
 android/playground/build.gradle | 6 +-----
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/android/gradle.properties b/android/gradle.properties
index 8583e59..f940681 100755
--- a/android/gradle.properties
+++ b/android/gradle.properties
@@ -13,5 +13,5 @@
 #Mon Jun 27 20:06:22 CST 2016
 org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
 org.gradle.parallel=true
-android.enableAapt2=false
-android.enableD8=false
\ No newline at end of file
+#android.enableAapt2=false
+#android.enableD8=false
\ No newline at end of file
diff --git a/android/playground/build.gradle b/android/playground/build.gradle
index b66dd9b..1d896f6 100755
--- a/android/playground/build.gradle
+++ b/android/playground/build.gradle
@@ -26,11 +26,7 @@ android {
     }
     applicationVariants.all { variant ->
         variant.outputs.each { output ->
-            def outputFile = output.outputFile
-            if (outputFile != null && outputFile.name.equals('app-debug.apk')) {
-                def fileName = outputFile.name.replace("app-debug.apk", "playground.apk")
-                output.outputFile = new File(outputFile.parent, fileName)
-            }
+            output.outputFileName = "playground.apk"
         }
     }
     signingConfigs {