/* Include.gradle configuration: http://docs.nativescript.org/plugins/plugins#includegradle-specification */

android {

}

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://maven.google.com"
        }
    }
}

dependencies {
    // Describe plugin native Android dependencies like
	// compile "groupName:pluginName:ver"
    // EXAMPLE: compile "com.facebook.fresco:fresco:0.9.0+"
    def androidXLegacyVersion = "1.0.0"
    if (project.hasProperty("androidXLegacy")) {
        androidXLegacyVersion = androidXLegacy
    }

    def androidXAppCompatVersion = "1.0.2"
    if (project.hasProperty("androidXAppCompat")) {
        androidXAppCompatVersion = androidXAppCompat
    }

    def androidXMaterialVersion = "1.1.0-alpha07"
    if (project.hasProperty("androidXMaterial")) {
        androidXMaterialVersion = androidXMaterial
    }

    implementation "androidx.legacy:legacy-support-v4:$androidXLegacyVersion"
    implementation "androidx.appcompat:appcompat:$androidXAppCompatVersion"
    implementation "com.google.android.material:material:$androidXMaterialVersion"
}
