simple_mtglife

view android/build.gradle @ 2:b01c1fd6f38c

add high res icon
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 26 Jan 2015 03:47:04 +0200
parents
children
line source
1 buildscript {
2 repositories {
3 mavenCentral()
4 }
6 dependencies {
7 classpath 'com.android.tools.build:gradle:0.12.1'
8 }
9 }
11 apply plugin: 'android'
13 dependencies {
14 compile fileTree(dir: 'libs', include: ['*.jar'])
15 }
17 android {
18 /*******************************************************
19 * The following variables:
20 * - androidBuildToolsVersion,
21 * - androidCompileSdkVersion
22 * - qt5AndroidDir - holds the path to qt android files
23 * needed to build any Qt application
24 * on Android.
25 *
26 * are defined in gradle.properties file. This file is
27 * updated by QtCreator and androiddeployqt tools.
28 * Changing them manually might break the compilation!
29 *******************************************************/
31 compileSdkVersion androidCompileSdkVersion.toInteger()
33 buildToolsVersion androidBuildToolsVersion
35 sourceSets {
36 main {
37 manifest.srcFile 'AndroidManifest.xml'
38 java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java']
39 aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl']
40 res.srcDirs = [qt5AndroidDir + '/res', 'res']
41 resources.srcDirs = ['src']
42 renderscript.srcDirs = ['src']
43 assets.srcDirs = ['assets']
44 jniLibs.srcDirs = ['libs']
45 }
46 }
48 lintOptions {
49 abortOnError false
50 }
51 }