Classpath Dependencies

Kotlin and Android Development featuring Jetpack — by Michael Fazio (121 / 125)

The Pragmatic Programmers
The Pragmatic Programmers

--

👈 Appendix 3 Gradle Dependencies | TOC | Implementation Dependencies 👉

These dependencies are included inside the project’s build.gradle file and are used along with plugins inside the app’s build.gradle file.

Gradle Build Plugin

Gradle handles all the build-related tasks for Android apps.

​ classpath ​"com.android.tools.build:gradle:$gradle_version"​
  • Book version: 4.1.2
  • Apps: Android Baseball League, Penny Drop

Kotlin Language Plugin

The core Kotlin plugin.

​ classpath ​"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"​
  • Book version: 1.4.30
  • Apps: Android Baseball League, Penny Drop

Navigation Component — Safe Args Plugin

Adds safe args for navigation between destinations.

​ classpath
​ ​"androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"​
  • Book version: 2.3.3
  • Apps: Android Baseball League

Google Services Plugin

--

--

The Pragmatic Programmers
The Pragmatic Programmers

We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.