Skip to content

Instantly share code, notes, and snippets.

@enginebai

enginebai/Dependencies.kt

Last active Oct 18, 2019
Embed
What would you like to do?
The versions and dependencies in kotlin that can be used in gradle kts file.
object Versions {
const val kotlin = "1.3.50"
const val androidX = "1.1.0"
const val junit = "4.12"
const val espresso = "3.2.0"
object Android {
const val sdk = 29
const val minSdk = 23
}
object App {
const val id = "com.enginebai.project.base"
const val versionCode = 1
const val versionName = "1.0.0"
}
}
object Dependencies {
const val gradlePlugin = "com.android.tools.build:gradle:3.5.1"
object Kotlin {
const val gradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
const val stdLib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Versions.kotlin}"
}
object AndroidX {
const val appCompat = "androidx.appcompat:appcompat:${Versions.androidX}"
const val coreKtx = "androidx.core:core-ktx:${Versions.androidX}"
const val constraintLayout = "androidx.constraintlayout:constraintlayout:1.1.3"
}
object Test {
const val junit = "junit:junit:${Versions.junit}"
const val runner = "androidx.test:runner:1.2.0"
const val espressoCore = "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.