From 946cf4ca00dbcdc15d24dc2b52bf01c69dcda848 Mon Sep 17 00:00:00 2001
From: BogDan Vatra <bogdan@kde.org>
Date: Tue, 11 Nov 2014 08:27:10 +0200
Subject: [PATCH] Android: copy build.gradle to install folder.

Task-number: QTCREATORBUG-13311
Change-Id: I4c91164ae1fc593397bb46f98fbc49ef1569da39
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
---
 src/android/templates/templates.pro | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/android/templates/templates.pro b/src/android/templates/templates.pro
index 684a556c5be..55387f3af7c 100644
--- a/src/android/templates/templates.pro
+++ b/src/android/templates/templates.pro
@@ -2,6 +2,7 @@ CONFIG -= qt android_install
 
 templates.files = \
     $$PWD/AndroidManifest.xml \
+    $$PWD/build.gradle \
     $$PWD/res
 
 templates.path = $$[QT_INSTALL_PREFIX]/src/android/templates
@@ -17,5 +18,6 @@ INSTALLS += templates
 
     QMAKE_POST_LINK += \
         $${QMAKE_COPY} $$shell_path($$PWD/AndroidManifest.xml) $$OUT_PATH $$RETURN \
+        $${QMAKE_COPY} $$shell_path($$PWD/build.gradle) $$OUT_PATH $$RETURN \
         $${QMAKE_COPY_DIR} $$shell_path($$PWD/res) $$OUT_PATH
 }
-- 
GitLab