Warning, /maui/vvave/android_files/build.gradle is written in an unsupported language. File is not indexed.

0001 buildscript {
0002     repositories {
0003         google()
0004         jcenter()
0005     }
0006 
0007     dependencies {
0008         classpath 'com.android.tools.build:gradle:3.6.4'
0009     }
0010 }
0011 
0012 repositories {
0013     google()
0014     jcenter()
0015 }
0016 
0017 apply plugin: 'com.android.application'
0018 apply from: '../version.gradle'
0019 def timestamp = (int)(new Date().getTime()/1000)
0020 
0021 dependencies {
0022     implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
0023             implementation "androidx.appcompat:appcompat:1.2.0"
0024                implementation 'androidx.media:media:1.4.3'
0025 
0026 }
0027 
0028 android {
0029     /*******************************************************
0030      * The following variables:
0031      * - androidBuildToolsVersion,
0032      * - androidCompileSdkVersion
0033      * - qt5AndroidDir - holds the path to qt android files
0034      *                   needed to build any Qt application
0035      *                   on Android.
0036      *
0037      * are defined in gradle.properties file. This file is
0038      * updated by QtCreator and androiddeployqt tools.
0039      * Changing them manually might break the compilation!
0040      *******************************************************/
0041 
0042     compileSdkVersion androidCompileSdkVersion.toInteger()
0043 
0044     buildToolsVersion androidBuildToolsVersion
0045     sourceSets {
0046         main {
0047             manifest.srcFile 'AndroidManifest.xml'
0048             java.srcDirs = [qt5AndroidDir + '/src', 'src', 'java']
0049             aidl.srcDirs = [qt5AndroidDir + '/src', 'src', 'aidl']
0050             res.srcDirs = [qt5AndroidDir + '/res', 'res']
0051             resources.srcDirs = ['src']
0052             renderscript.srcDirs = ['src']
0053             assets.srcDirs = ['assets']
0054             jniLibs.srcDirs = ['libs']
0055        }
0056     }    
0057 
0058 
0059 //    tasks.withType(JavaCompile) {
0060 //        options.incremental = true
0061 //    }
0062 
0063     compileOptions {
0064         sourceCompatibility JavaVersion.VERSION_1_8
0065         targetCompatibility JavaVersion.VERSION_1_8
0066     }
0067 
0068     lintOptions {
0069         abortOnError false
0070     }
0071 
0072     // Do not compress Qt binary resources file
0073 //    aaptOptions {
0074 //        noCompress 'rcc'
0075 //        ignoreAssetsPattern '!<dir>ECM:!<dir>aclocal:!<dir>doc:!<dir>gtk-doc:!<dir>man:!<dir>mime:!<dir>pkgconfig:!<dir>qlogging-categories5:!<file>iso_15924.mo:!<file>iso_3166-2.mo:!<file>iso_3166-3.mo:!<file>iso_4217.mo:!<file>iso_639-2.mo:!<file>iso_639-3.mo:!<file>iso_639-5.mo:!<file>kcodecs5_qt.qm:!<file>kde5_xml_mimetypes.qm:!<file>knotifications5_qt.qm:!<file>libkholidays5_qt.qm:!<file>libkmime5.mo:!<file>iso_3166-3.json:!<file>iso_4217.json:!<file>iso_639-2.json:!<file>iso_639-3.json:!<file>iso_639-5.json:!<file>schema-15924.json:!<file>schema-3166-1.json:!<file>schema-3166-2.json:!<file>schema-3166-3.json:!<file>schema-4217.json:!<file>schema-639-2.json:!<file>schema-639-3.json:!<file>schema-639-5.json'
0076 //    }
0077 
0078     defaultConfig {
0079 //        resConfig "en"
0080         minSdkVersion = qtMinSdkVersion
0081         targetSdkVersion = qtTargetSdkVersion
0082         manifestPlaceholders = [versionName: projectVersionFull, versionCode: timestamp]
0083     }
0084 
0085           packagingOptions {
0086                  exclude 'lib/*/*_Controls.2_Fusion_*'
0087                  exclude 'lib/*/*_Controls.2_Imagine_*'
0088                  exclude 'lib/*/*RemoteObjects*'
0089                  exclude 'lib/*/*StateMachine*'
0090                  exclude 'lib/*/*_imageformats_qico_*'
0091                  exclude 'lib/*/*_imageformats_qicns_*'
0092                  exclude 'lib/*/*_imageformats_qtga_*'
0093                  exclude 'lib/*/*_imageformats_qtiff_*'
0094                  exclude 'lib/*/*_qmltooling_*'
0095                  exclude 'lib/*/*_qtgeoservices_esri_*'
0096                  exclude 'lib/*/*_qtgeoservices_mapbox_*'
0097                  exclude 'lib/*/*_qtgeoservices_nokia_*'
0098              }
0099 
0100 }