android / codelab-kotlin-coroutines

Kotlin Coroutines codelab
Apache License 2.0
552 stars 268 forks source link

Update dependencies in coroutines-codelab #155

Closed osuleymanova closed 2 years ago

osuleymanova commented 2 years ago

Kotlin and Gradle Plugin versions updated apply plugin: 'kotlin-android-extensions' removed android:exported="true" added in Manifest typo " expresso" replaced by "espresso" jcenter() replaced by mavenCentral()

JoseAlcerreca commented 2 years ago

Thanks @osuleymanova !

This particular codelab should use Kotlin 1.5.31 for now, as 1.6 introduces changes that are not covered yet (cc @wojtek-kalicinski @manuelvicnt )

I've hopefully fixed CI, so please merge with main to incorporate the changes.

JoseAlcerreca commented 2 years ago

@manuelvicnt @wojtek-kalicinski please take a look at the error in finished_code module and fix it starting on this PR.

wojtek-kalicinski commented 2 years ago

CI is failing with: /home/runner/work/kotlin-coroutines/kotlin-coroutines/coroutines-codelab/finished_code/build/tmp/kapt3/stubs/debug/com/example/android/kotlincoroutines/main/TitleDao.java:17: error: Type of the parameter must be a class annotated with @Entity or a collection/array of it.