summaryrefslogtreecommitdiff
path: root/vpndialogxposed/build.gradle
blob: 252c26b43ebdf602cf47be161221a36c194e6629 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
repositories {
    jcenter()
}

configurations {
    provided
}
apply plugin: 'com.android.application'

dependencies {
    compile 'com.intellij:annotations:12.0'
    provided files('libs/XposedBridgeApi.jar')
}


android {
    compileSdkVersion 25
    buildToolsVersion '25.0.0'

    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 25
        versionCode = 3
        versionName = "0.3"

    }

    signingConfigs {
        release
    }

    buildTypes {
        release {
            signingConfig signingConfigs.release
        }
    }
}



/*
 * Copyright (c) 2012-2017 Arne Schwabe
 * Distributed under the GNU GPL v2 with additional terms. For full terms see the file doc/LICENSE.txt
 */

// ~/.gradle/gradle.properties
if (project.hasProperty('keystoreFile') &&
        project.hasProperty('keystorePassword') &&
        project.hasProperty('keystoreAliasPassword')) {
    android.signingConfigs.release.storeFile = file(keystoreFile)
    android.signingConfigs.release.storePassword = keystorePassword
    android.signingConfigs.release.keyPassword = keystoreAliasPassword
    android.signingConfigs.release.keyAlias = keystoreAliasXposed
} else {
    android.buildTypes.release.signingConfig = null
}

android.applicationVariants.all { variant ->
    variant.javaCompile.classpath += configurations.provided
}