Skip to content

Instantly share code, notes, and snippets.

@pavan5208
Last active June 21, 2021 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pavan5208/db23752d0c2fc8c06fcef9ffad8696c8 to your computer and use it in GitHub Desktop.
Save pavan5208/db23752d0c2fc8c06fcef9ffad8696c8 to your computer and use it in GitHub Desktop.
/**
* 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