summaryrefslogtreecommitdiffhomepage
path: root/build.gradle
blob: bc057e7ac44057b608654cc7a12f229a47548dad (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
allprojects {
    repositories {
        google()
        jcenter()
    }
}

buildscript {
    ext {
        annotationsVersion = '1.1.0'
        appcompatVersion = '1.1.0'
        cardviewVersion = '1.0.0'
        collectionVersion = '1.1.0'
        coreKtxVersion = '1.2.0'
        coroutinesVersion = '1.3.5'
        constraintLayoutVersion = '1.1.3'
        coordinatorLayoutVersion = '1.1.0'
        agpVersion = '3.6.1'
        fragmentVersion = '1.2.3'
        materialComponentsVersion = '1.1.0'
        jsr305Version = '3.0.2'
        kotlinVersion = '1.3.71'
        preferenceVersion = '1.1.0'
        streamsupportVersion = '1.7.1'
        threetenabpVersion = '1.2.2'
        // ZXING switched minSdk to 24 so we cannot upgrade to 4.0.2 without following suit.
        // If you choose to upgrade to minSDK 24 then you should also disable Jetifier from
        // gradle.properties.
        zxingEmbeddedVersion = '3.6.0'
        eddsaVersion = '0.3.0'
        bintrayPluginVersion = '1.8.4'
        mavenPluginVersion = '2.1'
        junitVersion = '4.13'

        groupName = 'com.wireguard.android'
    }
    dependencies {
        classpath "com.android.tools.build:gradle:$agpVersion"
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
        classpath "com.github.dcendents:android-maven-gradle-plugin:$mavenPluginVersion"
        classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:$bintrayPluginVersion"
    }
    repositories {
        google()
        jcenter()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

tasks {
    wrapper {
        gradleVersion = "6.2.2"
        distributionType = Wrapper.DistributionType.ALL
    }
}

apply from: "version.gradle"