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


buildscript {

    def versionMajor = 1
    def versionMinor = 5
    def versionPatch = 0
    def versionBuild = 0 // bump for dogfood builds, public betas, etc.

    ext {
        versionCode = versionMajor * 100000 + versionMinor * 1000 + versionPatch * 100 + versionBuild
        versionName = "${versionMajor}.${versionMinor}.${versionPatch}"
        // dependency versions
        appCompatVer = '1.6.1'
        junitVer = '4.13.2'
        androidJunitVer = '1.1.5'
        espressoVer = '3.5.1'
        jacksonVer = '2.9.8'
        // supports java 1.6
        commonsIoVer = '2.5'
        // supports java 1.6
        commonsCompressVer = '1.12'
        youtubedlAndroidVer = "7222fe9637"
        workVer = "2.8.0"
        composeVer = "1.4.0-alpha02"
        kotlinVer = "1.7.21"
        coroutineVer = "1.6.4"
        retrofitVer = "2.9.0"
        kodeinVer = "7.16.0"
    }
    repositories {
        mavenCentral()
        google()
    }

}

plugins {
    id 'com.android.application' version '7.4.2' apply false
    id 'com.android.library' version '7.4.2' apply false
    id 'org.jetbrains.kotlin.android' version '1.7.21' apply false
    id "org.jetbrains.kotlin.plugin.serialization" version "1.7.21" apply false
}


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