Created
May 17, 2019 08:06
-
-
Save nrohmen/dee8fdca4ac3fbc31e4a5b18ce7a16b7 to your computer and use it in GitHub Desktop.
gdm
This file contains 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
private const val kotlinVersion = "1.3.31" | |
private const val androidGradleVersion = "3.4.0" | |
//support libs | |
private const val appcompatVersion = "1.0.0" | |
private const val constraintLayoutVersion = "1.1.3" | |
//test libs | |
private const val junitVersion = "4.12" | |
private const val runnerVersion = "1.1.0" | |
private const val espressoVersion = "3.1.0" | |
object Dependencies{ | |
object Android { | |
val minSdkVersion = 21 | |
val targetSdkVersion = 28 | |
val compileSdkVersion = 28 | |
val applicationId = "com.dicoding.app" | |
val versionCode = 1 | |
val versionName = "0.1" | |
} | |
object Kotlin{ | |
val kotlin_std = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion" | |
} | |
object BuildPlugins { | |
const val androidGradle = "com.android.tools.build:gradle:$androidGradleVersion" | |
const val kotlinGradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" | |
} | |
object SupportLibs{ | |
val appcompat = "androidx.appcompat:appcompat:$appcompatVersion" | |
val constraint_layout = "androidx.constraintlayout:constraintlayout:$constraintLayoutVersion" | |
} | |
object TestLibs{ | |
val junit = "junit:junit:$junitVersion" | |
val espresso = "androidx.test.espresso:espresso-core:$espressoVersion" | |
val runner = "androidx.test:runner:$runnerVersion" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment