Last active
February 23, 2025 12:16
-
-
Save Nunocky/d25e7ad28667306560e8a25a5f03a12b to your computer and use it in GitHub Desktop.
Jetpack Composeでアプリを作るときのライブラリまとめ
This file contains hidden or 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
# app | |
plugins { | |
... | |
alias(libs.plugins.google.services) | |
alias(libs.plugins.ksp) | |
alias(libs.plugins.hilt.android) | |
alias(libs.plugins.serialization) | |
} | |
dependencies { | |
implementation(libs.dagger.hilt.android) | |
ksp(libs.dagger.hilt.android.compiler) | |
ksp(libs.androidx.hilt.compiler) | |
implementation(libs.androidx.hilt.navigation.compose) | |
implementation(libs.androidx.navigation.compose) | |
implementation(libs.kotlinx.serialization.json) | |
// firebase | |
implementation(platform(libs.firebase.bom)) | |
implementation(libs.firebase.analytics) | |
implementation(libs.firebase.auth.ktx) | |
implementation(libs.firebase.ui.auth) | |
... | |
} |
This file contains hidden or 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
# project | |
plugins { | |
... | |
alias(libs.plugins.google.services) apply false | |
alias(libs.plugins.ksp) apply false | |
alias(libs.plugins.hilt.android) apply false | |
alias(libs.plugins.serialization) apply false | |
} |
This file contains hidden or 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
[versions] | |
serialization = "2.1.10" | |
kotlinxSerializationJson = "1.8.0" | |
ksp = "2.1.0-1.0.29" | |
hiltAndroid = "2.55" | |
hiltAndroidCompiler = "2.55" | |
hiltCompiler = "1.2.0" | |
hiltNavigationCompose = "1.2.0" | |
navigationCompose = "2.8.7" | |
google-services = "4.4.2" | |
firebaseBom = "33.9.0" | |
firebaseAuthKtx = "23.2.0" | |
#firebaseUiAuth = "8.0.0" | |
[libraries] | |
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinxSerializationJson" } | |
dagger-hilt-android = { module = "com.google.dagger:hilt-android", version.ref = "hiltAndroid" } | |
dagger-hilt-android-compiler = { module = "com.google.dagger:hilt-android-compiler", version.ref = "hiltAndroidCompiler" } | |
androidx-hilt-compiler = { module = "androidx.hilt:hilt-compiler", version.ref = "hiltCompiler" } | |
androidx-hilt-navigation-compose = { module = "androidx.hilt:hilt-navigation-compose", version.ref = "hiltNavigationCompose" } | |
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigationCompose" } | |
firebase-bom = { module = "com.google.firebase:firebase-bom", version.ref = "firebaseBom" } | |
firebase-analytics = { module = "com.google.firebase:firebase-analytics-ktx" } | |
firebase-auth-ktx = { group = "com.google.firebase", name = "firebase-auth-ktx", version.ref = "firebaseAuthKtx" } | |
#firebase-ui-auth = { module = "com.firebaseui:firebase-ui-auth", version.ref = "firebaseUiAuth" } | |
[plugins] | |
google-services = { id = "com.google.gms.google-services", version.ref = "google-services" } | |
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" } | |
hilt-android = { id = "com.google.dagger.hilt.android", version.ref = "hiltAndroid" } | |
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "serialization" } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment