Gradle Dependency Management: Using Kotlin and buildSrc in Android Studio
Did you know you can write Kotlin in a module named buildSrc to manage your dependencies in your Gradle files?
When you run gradle, it checks for the presence of a directory named buildSrc Then gradle automatically puts the code into classpath without any further work.
More about Kotlin DSL
Migrate Build Scripts from Groovy to Kotlin DSL
https://www.youtube.com/watch?v=Pj35048JTFw&feature=youtu.be
Chapters
0:00 Introduction
0:41 Create buildSrc and necessary directories
1:13 Integrate Kotlin DSL plugin
2:14 Create Dependencies.kt
2:28 Migrate app level dependencies
5:38 Migrate project level dependencies
6:26 Migrate BuildConfig versions
7:27 Conclusion
- ▬▬▬▬▬▬▬▬▬▬Newsletter▬▬▬▬▬▬▬▬▬▬
💌 Subscribe to My Newsletter:
I share the best articles and videos that I came across while I was researching for my articles and videos.
https://tinyletter.com/Siva_Ganesh_Kantamani
▬▬▬▬▬▬▬▬▬▬About Me▬▬▬▬▬▬▬▬▬▬
Twitter: https://twitter.com/SG5202
Medium: https://medium.com/@sgkantamani
Instagram: https://www.instagram.com/sgkantamani/?hl=en
Song: MBB - Beach (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: https://www.youtube.com/watch?v=bfjxyOtpvlA
..................................................................................................................
Thanks for watching and if you liked this video please leave a LIKE.
Subscribe to my channel and click the 🔔 icon for notifications when I post a new video.
Have a fantastic day!
Siva Ganesh Kantamani
Видео Gradle Dependency Management: Using Kotlin and buildSrc in Android Studio канала Mighty Programmer
When you run gradle, it checks for the presence of a directory named buildSrc Then gradle automatically puts the code into classpath without any further work.
More about Kotlin DSL
Migrate Build Scripts from Groovy to Kotlin DSL
https://www.youtube.com/watch?v=Pj35048JTFw&feature=youtu.be
Chapters
0:00 Introduction
0:41 Create buildSrc and necessary directories
1:13 Integrate Kotlin DSL plugin
2:14 Create Dependencies.kt
2:28 Migrate app level dependencies
5:38 Migrate project level dependencies
6:26 Migrate BuildConfig versions
7:27 Conclusion
- ▬▬▬▬▬▬▬▬▬▬Newsletter▬▬▬▬▬▬▬▬▬▬
💌 Subscribe to My Newsletter:
I share the best articles and videos that I came across while I was researching for my articles and videos.
https://tinyletter.com/Siva_Ganesh_Kantamani
▬▬▬▬▬▬▬▬▬▬About Me▬▬▬▬▬▬▬▬▬▬
Twitter: https://twitter.com/SG5202
Medium: https://medium.com/@sgkantamani
Instagram: https://www.instagram.com/sgkantamani/?hl=en
Song: MBB - Beach (Vlog No Copyright Music)
Music provided by Vlog No Copyright Music.
Video Link: https://www.youtube.com/watch?v=bfjxyOtpvlA
..................................................................................................................
Thanks for watching and if you liked this video please leave a LIKE.
Subscribe to my channel and click the 🔔 icon for notifications when I post a new video.
Have a fantastic day!
Siva Ganesh Kantamani
Видео Gradle Dependency Management: Using Kotlin and buildSrc in Android Studio канала Mighty Programmer
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Migrate Build Scripts from Groovy to Kotlin DSLGradle for Beginners (Build Types, Product Flavors, Build Variants, Source Sets)Liferay Tutorial 06 :- How to resolve Dependency in GradleViewModel Explained - Android Architecture Component | TutorialUnderstanding Gradle #09 – Centralizing Dependency VersionsAndroid Dependency Injection - IntroductionWhat Are Coroutines In Kotlin? | Kotlin Coroutines Tutorial | Kotlin Android Tutorial | SimplilearnGradle Dependency Management w/Kotlin and buildSrc for build.gradle Autocomplete in Android StudioThe Ultimate Guide to Your First Kotlin Multiplatform Mobile AppMulti module java project with Gradle | basics | sub project import | manage dependenciesAndroid Gradle Tutorial | Groovy to Kotlin-DSL | Android Development | Coder LaneIntroducing Gradle (Ep 2, Android Studio)How to create an Options Menu in Android Studio (Kotlin 2020)Shrink, Optimize and Secure Your App With R8 & ProGuard - Full GuideAndroid Hilt Tutorial - Injecting Dependencies with HiltKotlin: Using KTX - MAD SkillsSetup CI For Android Apps Using GitHub Actions // Android CI TutorialGradle Tutorial | Episode 2 - Dependencies and ConfigurationsThe ViewModel & LiveData Tutorial in Android Studio (Kotlin)Minimal Splash Screen Using Kotlin in 5 Mins | Android Studio