// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext.kotlin_version = '1.3.50'
    ext.versionCode = 3
    ext.versionName = "1.3.0"
    ext.support_version = '28.0.0'
    ext.target_version = 28
    ext.min_version = 22
    ext.androidx_version = '1.0.2'
    ext.material_version = '1.1.0'

    ext.bintray_userOrg = 'lmylr'
    ext.bintray_groupId = 'com.lmy.codec'
    ext.bintray_publishVersion = versionName
    ext.bintray_website = 'https://github.com/lmylr'

    repositories {
        mavenCentral()
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.5.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath 'com.novoda:bintray-release:0.8.1'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

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

apply from: "./tools/auto_bin_id.gradle"

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