Created
July 13, 2023 05:42
-
-
Save senamit2708/1121bca10fff44db63763e1047e95edf to your computer and use it in GitHub Desktop.
how to define library constant in gradle file
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
//navigation | |
implementation "androidx.navigation:navigation-fragment-ktx:$nav_version" | |
implementation "androidx.navigation:navigation-ui-ktx:$nav_version" | |
//room database | |
implementation "androidx.room:room-ktx:$room_version" | |
kapt "androidx.room:room-compiler:$room_version" | |
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version" |
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
//always keep buildscript above the plugin section. | |
buildscript { | |
ext { | |
nav_version = "2.6.0" | |
room_version = "2.5.2" | |
lifecycle_version = "2.2.0" | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment