Last active
December 4, 2025 10:02
-
-
Save Jaypatelbond/8565ace567ffe72e359ea4f54b0308b9 to your computer and use it in GitHub Desktop.
Dependencies for DataStore
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/build.gradle.kts | |
| plugins { | |
| id("com.google.protobuf") version "0.9.5" | |
| } | |
| dependencies { | |
| // DataStore | |
| implementation("androidx.datastore:datastore:1.2.0") | |
| implementation("com.google.protobuf:protobuf-javalite:4.33.1") | |
| // Google Tink | |
| implementation("com.google.crypto.tink:tink-android:1.19.0") | |
| } | |
| protobuf { | |
| protoc { | |
| artifact = "com.google.protobuf:protoc:4.33.1" | |
| } | |
| generateProtoTasks { | |
| all().forEach { task -> | |
| task.builtins { | |
| create("java") { | |
| option("lite") | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment