Android: Install gradle templates

Install the required gradle templates for the android deployment tool
to work correctly.

Change-Id: I1b18235c354dbea2d4b47ce1d8146a477676a6cb
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Leander Beernaert 2019-06-13 14:03:23 +02:00
parent bb959af00a
commit 60c2f9f3b4
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,9 @@
add_subdirectory(tinycbor)
add_subdirectory(harfbuzz)
add_subdirectory(double-conversion)
#special case begin
if (ANDROID)
add_subdirectory(gradle)
endif()
#special case end

20
src/3rdparty/gradle/CMakeLists.txt vendored Normal file
View File

@ -0,0 +1,20 @@
# special case begin
install(
FILES
gradlew
gradlew.bat
DESTINATION
src/3rdparty/gradle
COMPONENT
Devel)
install(
DIRECTORY
gradle
DESTINATION
src/3rdparty/gradle
COMPONENT
Devel)
# special case end