def buildVersions = [:]
buildVersions.applicationId = "su.xash.husky"
buildVersions.compileSdk = 32
buildVersions.minSdk = 23
buildVersions.targetSdk = 32
buildVersions.buildTools = "32.0.0"
buildVersions.javaCompat = JavaVersion.VERSION_11
buildVersions.jdkVersion = "${buildVersions.javaCompat}"

buildVersions.encoding = "UTF-8"

buildVersions.versionCode = 182
buildVersions.versionName = "1.2.2"

// Beta version info
def beta = [:]
beta.suffix = "beta"
beta.versionSuffix = "1"
buildVersions.beta = beta

// Dev version info
def dev = [:]
dev.suffix = "dev"
dev.applicationId = "su.xash.husky.${dev.suffix}"

dev.minSdk = 23
dev.targetSdk = 32

dev.versionCode = 1
dev.versionName = "1.0.0"
buildVersions.dev = dev

// Flavors dimensions
def flavorDimensions = [:]
flavorDimensions.husky = "husky"
flavorDimensions.release = "release"
buildVersions.flavorDimensions = flavorDimensions

// Debug signing info
def debugSign = [:]
debugSign.keystoreFile = "debug.keystore"
debugSign.keystorePassword = "android"
debugSign.keyAlias = "androiddebugkey"
debugSign.keyPassword = "android"
buildVersions.debugSign = debugSign

ext.buildVersions = buildVersions
