Subversion Repositories tpanel

Rev

Rev 446 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 446 Rev 483
Line 3... Line 3...
3
        google()
3
        google()
4
        mavenCentral()
4
        mavenCentral()
5
    }
5
    }
6
 
6
 
7
    dependencies {
7
    dependencies {
8
        classpath 'com.android.tools.build:gradle:7.4.1'
8
        classpath 'com.android.tools.build:gradle:8.6.0'
9
    }
9
    }
10
}
10
}
11
 
11
 
12
repositories {
12
repositories {
13
    google()
13
    google()
14
    mavenCentral()
14
    mavenCentral()
15
}
15
}
16
 
16
 
17
apply plugin: 'com.android.application'
17
//apply plugin: 'com.android.application'
-
 
18
apply plugin: qtGradlePluginType
18
 
19
 
19
dependencies {
20
dependencies {
20
    implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
21
    implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
21
//    implementation 'com.google.android.material:material:1.0.0'
22
//    implementation 'com.google.android.material:material:1.0.0'
-
 
23
    implementation 'androidx.core:core:1.13.1'
22
    implementation 'androidx.preference:preference:1.1.0'
24
//    implementation 'androidx.preference:preference:1.1.0'
23
}
25
}
24
 
26
 
25
android {
27
android {
26
    /*******************************************************
28
    /*******************************************************
27
     * The following variables:
29
     * The following variables:
Line 34... Line 36...
34
     * are defined in gradle.properties file. This file is
36
     * are defined in gradle.properties file. This file is
35
     * updated by QtCreator and androiddeployqt tools.
37
     * updated by QtCreator and androiddeployqt tools.
36
     * Changing them manually might break the compilation!
38
     * Changing them manually might break the compilation!
37
     *******************************************************/
39
     *******************************************************/
38
 
40
 
-
 
41
 
-
 
42
    namespace androidPackageName
39
    compileSdkVersion androidCompileSdkVersion
43
    compileSdkVersion androidCompileSdkVersion
40
    buildToolsVersion androidBuildToolsVersion    /* Reserved for Qt 6.x */
44
    buildToolsVersion androidBuildToolsVersion    /* Reserved for Qt 6.x */
41
    ndkVersion androidNdkVersion                  /* Reserved for Qt 6.x */
45
    ndkVersion androidNdkVersion                  /* Reserved for Qt 6.x */
42
    // namespace 'org.qtproject.theosys'
-
 
43
 
46
 
44
    // Extract native libraries from the APK
47
    // Extract native libraries from the APK
45
    packagingOptions.jniLibs.useLegacyPackaging true  /* Reserved for Qt 6.x */
48
    packagingOptions.jniLibs.useLegacyPackaging true  /* Reserved for Qt 6.x */
46
 
49
 
47
    sourceSets {
50
    sourceSets {
Line 78... Line 81...
78
    defaultConfig {
81
    defaultConfig {
79
        resConfig "en"
82
        resConfig "en"
80
        minSdkVersion = qtMinSdkVersion
83
        minSdkVersion = qtMinSdkVersion
81
        targetSdkVersion = qtTargetSdkVersion
84
        targetSdkVersion = qtTargetSdkVersion
82
        ndk.abiFilters = qtTargetAbiList.split(",")
85
        ndk.abiFilters = qtTargetAbiList.split(",")
83
        qtMinSdkVersion = 29
86
        qtMinSdkVersion = 30
84
        qtTargetSdkVersion = 30
87
        qtTargetSdkVersion = 33
85
        qtTargetAbiList = [ 'arm64-v8a', 'x86_64', 'armeabi-v7a', 'x86' ]
88
        qtTargetAbiList = [ 'arm64-v8a', 'x86_64', 'armeabi-v7a', 'x86' ]
86
    }
89
    }
87
 
90
 
88
    packagingOptions {
91
    packagingOptions {
89
        doNotStrip '*/mips/*.so'
92
        doNotStrip '*/mips/*.so'