From cc457787f4667b0219c98d847c9970f0692b5f0e Mon Sep 17 00:00:00 2001 From: Henrique Gemignani Passos Lima Date: Sun, 19 Feb 2017 10:48:35 -0300 Subject: [PATCH] Fix build.gradle and add gradle/Android Studio entries to gitignore --- .gitignore | 12 ++++++++++++ love/build.gradle | 5 +++-- love/src/main/AndroidManifest.xml | 3 +++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 love/src/main/AndroidManifest.xml diff --git a/.gitignore b/.gitignore index 1b3efc16..5d05b6dc 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,15 @@ local.properties *.a *.orig *.rej + + +# Downloaded gradle wrapper +.gradle + +# Android Studio project files +.idea +*.iml + +# Gradle build files +build +.externalNativeBuild \ No newline at end of file diff --git a/love/build.gradle b/love/build.gradle index 69e89916..d247d34b 100644 --- a/love/build.gradle +++ b/love/build.gradle @@ -6,12 +6,13 @@ android { // See https://code.google.com/p/android/issues/detail?id=52962 // and http://stackoverflow.com/questions/27277433/why-does-gradle-build-my-module-in-release-mode-when-the-app-is-in-debug // defaultPublishConfig "debug" - compileSdkVersion rootProject.ext.compileSdkVersion - buildToolsVersion rootProject.ext.buildToolsVersion + compileSdkVersion 25 + buildToolsVersion "25.0.2" defaultConfig { compileSdkVersion 25 buildToolsVersion "25.0.2" + minSdkVersion 10 externalNativeBuild { ndkBuild { arguments "-j2" diff --git a/love/src/main/AndroidManifest.xml b/love/src/main/AndroidManifest.xml new file mode 100644 index 00000000..fff3c0c9 --- /dev/null +++ b/love/src/main/AndroidManifest.xml @@ -0,0 +1,3 @@ + + +