summaryrefslogtreecommitdiff
path: root/android/sdremote/build.gradle
blob: 574cd39a64c1187753688ddb2f0163351f62e2eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        mavenCentral()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.3.1'
    }
}

// defaults for the two modules to have a single place to update
subprojects {
    afterEvaluate {project ->
        if (project.hasProperty("android")) {
            android {
                compileSdkVersion  33
                defaultConfig {
                    targetSdkVersion 33
                    namespace 'org.libreoffice.impressremote'
                    versionName   '2.6.0'
                    setProperty("archivesBaseName", "ImpressRemote_vc${versionCode}_${versionName}")
                    // prevent having android studio create PNGs from the vectors
                    vectorDrawables.useSupportLibrary = true

                }
            }
        }
    }
}

allprojects {
    repositories {
        mavenCentral()
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
    }
}