// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
        jcenter()
        maven { url 'https://plugins.gradle.org/m2/' }
        maven { url 'https://maven.google.com' }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0-beta7'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {

    ext {
        projectGroupId = 'org.mariotaku.twidere'
        projectVersionCode = 395
        projectVersionName = '3.7.1'

        globalCompileSdkVersion = 26
        globalBuildToolsVersion = '26.0.2'
    }

    repositories {
        mavenLocal()
        jcenter()
        maven { url 'https://maven.google.com' }
        maven { url 'https://jitpack.io' }
    }

}

subprojects {
    buildscript {
        ext {
            kotlinVersion = '1.1.51'
            pluginVersions = [
                    AndroidSvgDrawable: '3.0.0',
                    PlayServices      : '3.1.1',
            ]
            libVersions = [
                    Kotlin               : "${kotlinVersion}",
                    SupportLib           : '26.1.0',
                    SupportTest          : '1.0.0',
                    MariotakuCommons     : '0.9.20',
                    RestFu               : '0.9.60',
                    ObjectCursor         : '0.9.21',
                    PlayServices         : '11.4.2',
                    MapsUtils            : '0.5',
                    DropboxCoreSdk       : '3.0.3',
                    GoogleDriveApi       : 'v3-rev81-1.22.0',
                    Exoplayer            : 'r2.2.0',
                    Toro                 : '2.1.0',
                    LoganSquare          : '1.3.7',
                    IABv3                : '1.0.38',
                    Mime4J               : '0.7.2',
                    OkHttp               : '3.8.1',
                    Stetho               : '1.5.0',
                    OSMDroid             : '5.6.5',
                    LeakCanary           : '1.5.1',
                    TwitterText          : '1.14.7',
                    MediaViewerLibrary   : '0.9.23',
                    MultiValueSwitch     : '0.9.8',
                    PickNCrop            : '0.9.27',
                    AndroidGIFDrawable   : '1.2.6',
                    KPreferences         : '0.9.7',
                    Kovenant             : '3.3.0',
                    ParcelablePlease     : '1.0.2',
                    Chameleon            : '0.9.22',
                    UniqR                : '0.9.4',
                    SQLiteQB             : '0.9.15',
                    Glide                : '3.7.0',
                    GlideOkHttp3         : '1.4.0',
                    GlideTransformations : '2.0.2',
                    AndroidImageCropper  : '2.4.6',
                    ExportablePreferences: '0.9.7',
                    ACRA                 : '4.9.2',
                    AbstractTask         : '0.9.5',
                    Dagger               : '2.11',
                    StethoBeanShellREPL  : '0.1',
            ]

        }

    }

}
