Last active
October 18, 2019 11:51
-
-
Save enginebai/41089b309170fd76fc8b14e409a5d5b6 to your computer and use it in GitHub Desktop.
The versions and dependencies in kotlin that can be used in gradle kts file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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