Created
September 6, 2018 13:34
-
-
Save nksaroj/0ebebb47964bcaa9228291f5a08c4f8e to your computer and use it in GitHub Desktop.
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
object Config { | |
object Application { | |
val applicationId = "sk.android.com.kotlindsl" | |
} | |
object BuildFurniture { | |
val ENABLE_CRASHLYTICS = "ENABLE_CRASHLYTICS" | |
} | |
} |
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
object Depends { | |
const val kotlinStdLib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlinVersion}" | |
object BuildPlugins { | |
const val androidPlugin = "com.android.tools.build:gradle:${Versions.androidGradlePluginVersion}" | |
const val kotlinPlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlinVersion}" | |
} | |
object Android { | |
const val supportAnnotations = "androidx.annotation:annotation:${Versions.androidSupportVersion}" | |
const val supportAppcompat = "androidx.appcompat:appcompat:${Versions.androidSupportVersion}" | |
const val constraintLayout = "androidx.constraintlayout:constraintlayout:${Versions.constraintLayoutVersion}" | |
} | |
object TestLibraries { | |
const val jUnit = "junit:junit:${Versions.junitVersion}" | |
const val jUnitRunner = "androidx.test:runner:${Versions.junitRunnerVersion}" | |
const val espressoCore = "androidx.test.espresso:espresso-core:${Versions.espressoCoreVersion}" | |
} | |
} |
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
object Versions { | |
object Android { | |
const val buildToolsVersion = "28.0.2" | |
const val compileSdkVersion = 28 | |
const val minSdkVersion = 15 | |
const val targetSdkVersion = 28 | |
const val appVersionCode = 1 | |
const val appVersionName = "1.0" | |
} | |
const val kotlinVersion = "1.2.61" | |
const val androidGradlePluginVersion = "3.2.0-rc02" | |
const val androidSupportVersion = "1.0.0-rc01" | |
const val constraintLayoutVersion = "2.0.0-alpha2" | |
const val junitVersion = "4.12" | |
const val junitRunnerVersion = androidSupportVersion | |
const val espressoCoreVersion = "3.1.0-alpha1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment