Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const val kotlinVersion = "1.3.21"
object BuildPlugins {
object Versions {
const val buildToolsVersion = "3.3.1"
}
const val androidGradlePlugin = "com.android.tools.build:gradle:${Versions.buildToolsVersion}"
const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
const val androidApplication = "com.android.application"
const val kotlinAndroid = "kotlin-android"
const val kotlinAndroidExtensions = "kotlin-android-extensions"
}
object AndroidSdk {
const val min = 15
const val compile = 28
const val target = compile
}
object Libraries {
private object Versions {
const val jetpack = "1.0.0-beta01"
const val constraintLayout = "1.1.2"
const val ktx = "1.1.0-alpha05"
}
const val kotlinStdLib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion"
const val appCompat = "androidx.appcompat:appcompat:${Versions.jetpack}"
const val constraintLayout = "androidx.constraintlayout:constraintlayout:${Versions.constraintLayout}"
const val ktxCore = "androidx.core:core-ktx:${Versions.ktx}"
}
object TestLibraries {
private object Versions {
const val junit4 = "4.12"
const val testRunner = "1.1.0-alpha4"
const val espresso = "3.1.0-alpha4"
}
const val junit4 = "junit:junit:${Versions.junit4}"
const val testRunner = "androidx.test:runner:${Versions.testRunner}"
const val espresso = "androidx.test.espresso:espresso-core:${Versions.espresso}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.