Skip to content

Instantly share code, notes, and snippets.

@pavan5208
Last active Jun 21, 2021
Embed
What would you like to do?
/**
* To define plugins
*/
object BuildPlugins {
val android by lazy { "com.android.tools.build:gradle:${Versions.gradlePlugin}" }
val kotlin by lazy { "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}" }
}
/**
* To define dependencies
*/
object Deps {
val appCompat by lazy { "androidx.appcompat:appcompat:${Versions.appCompat}" }
val timber by lazy { "com.jakewharton.timber:timber:${Versions.timber}" }
val kotlin by lazy { "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Versions.kotlin}" }
val materialDesign by lazy { "com.google.android.material:material:${Versions.material}" }
val constraintLayout by lazy { "androidx.constraintlayout:constraintlayout:${Versions.constraintLayout}" }
val junit by lazy { "junit:junit:${Versions.jUnit}" }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment