I don’t know if i am #OT but i have 2 question abo...
# gradle
a
I don’t know if i am #OT but i have 2 question about Gradle Catalog Version. 1. I created libs.versions.toml inside gradle folder but folder is not included in repository so how can i share file to other developers? 2. i create dependencies for hilt but i’ d like create a bundle so how can use kapt and not implementation because in my 3-4 dependencies there are kapt dep such as kapt(“com.google.daggerhilt android compiler2.42”)
f
a
Thanks for your link, it's interesting but doesn't response my question, how can share toml file in repository?
f
You need to add the file to git in order to push it to your repo
a
buti have to add gradle folder or only file?
f
The gradle folder is already added, just add the file
c
‘gradle’ folder is intended to be added to git.
a
ok thanks
f
For kapt you must add them separately with implementation (libs.hiltDep) kapt(libs.kaptHilt)
a
ok thank so i lose bundle advantage.. because i can’t use libs.bundle.hilt
f
You can bundle kapt or libs, it's just that you can't bundle kapt and implementation together