
allprojects {
    repositories {
        google()
        jcenter()
    }
}

buildscript {
    ext {
        agpVersion = '3.6.3'
        annotationsVersion = '1.1.0'
        appcompatVersion = '1.1.0'
        bintrayPluginVersion = '1.8.4'
        biometricVersion = '1.0.1'
        collectionVersion = '1.1.0'
        constraintLayoutVersion = '1.1.3'
        coordinatorLayoutVersion = '1.1.0'
        coreKtxVersion = '1.2.0'
        coroutinesVersion = '1.3.5'
        eddsaVersion = '0.3.0'
        fragmentVersion = '1.2.4'
        jsr305Version = '3.0.2'
        junitVersion = '4.13'
        kotlinVersion = '1.3.72'
        materialComponentsVersion = '1.2.0-alpha06'
        mavenPluginVersion = '2.1'
        preferenceVersion = '1.1.1'
        streamsupportVersion = '1.7.2'
        threetenabpVersion = '1.2.4'
        zxingEmbeddedVersion = '3.6.0'
        tunnelVersion = '1.0.20200407'
        interceptorVersion = '3.12.2'
        gsonVersion = '2.8.6'
        retrofitVersion = '2.7.2'
        converterGsonVersion = '2.7.2'
        appcompatVersion = '1.1.0'
        constraintlayoutVersion = '1.1.3'
        lifecycleExtensionVersion = '2.2.0'
        lifecycleViewModelVersion = '2.2.0'
        rxandroidVersion = '2.0.1'
        rxjavaVersion = '2.1.6'
        adapterrxjava2Version = '2.3.0'

        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.4"
        distributionType = Wrapper.DistributionType.ALL
        distributionSha256Sum = "d08f7e24d061910382c2fda9915e6ed42dd1480ae2e99211f92c70190cb697e0"
    }
}

apply from: "version.gradle"
