android / codelab-android-room-with-a-view

Apache License 2.0
759 stars 493 forks source link

Gradle needs updating to kotlin #263

Open scottbiggs opened 4 months ago

scottbiggs commented 4 months ago

The gradle code samples in page 4 (https://developer.android.com/codelabs/android-room-with-a-view-kotlin#3) are all in groovy, which is being replaced by kotlin (didn't you know that?).

Please add a kotlin gradle version of this code. Converting between the old groovy and the new kotlin format is extremely tricky for beginners (I gave up).

cyCaffine commented 3 months ago

Hi, Please assign this issue to me, I can solve this.

Nick-P-M commented 3 months ago

When you do this please also migrate the sample code from kapt to ksp.

HackJJ commented 2 months ago

Agreed, it's pretty hard to follow the code when the version of Android Studio you have (latest version) isn't comptiable. Makes it hugely frustrating.

dhsilber commented 2 months ago

Agreed, it's pretty hard to follow the code when the version of Android Studio you have (latest version) isn't comptiable. Makes it hugely frustrating.

I've just run into this issue in attempting to work through this codelab. If/when someone updates this, I would like to give it a test run.