buildscript {
    project.ext {
        kotlin_version = '1.6.10'
        compileSdkVersion = 31
        targetSdkVersion = 31
        minSdkVersion = 14

        targetJavaVersion = JavaVersion.VERSION_1_8

        versionName = '1.2.11'
        versionCode = 10211

        libraryName = 'Localization'
        libraryDescription = 'In-app language changing library for Android'

        groupId = 'com.akexorcist'
        artifactId = 'localization'

        siteUrl = 'https://github.com/akexorcist/Android-Localization'
        gitUrl = 'https://github.com/akexorcist/Android-Localization.git'

        developerId = 'akexorcist'
        developName = 'Somkiat Khitwongwattana'
        developerEmail = 'akexorcist@gmail.com'

        licenseName = 'The Apache License, Version 2.0'
        licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
    }

    repositories {
        mavenCentral()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:4.2.2'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$project.kotlin_version"
        classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.17"
        classpath "com.google.dagger:hilt-android-gradle-plugin:2.33-beta"
    }
}

allprojects {
    repositories {
        mavenCentral()
        google()
    }
}
