Skip to content

Instantly share code, notes, and snippets.

@gabriel-TheCode
Last active April 25, 2022 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabriel-TheCode/bdbecc8b8c5dbf20abe1ec8640d4ebc6 to your computer and use it in GitHub Desktop.
Save gabriel-TheCode/bdbecc8b8c5dbf20abe1ec8640d4ebc6 to your computer and use it in GitHub Desktop.
Using KSP
plugins {
id 'com.android.application'
id 'kotlin-android'
// id 'kotlin-kapt' not needed anymore
id "com.google.devtools.ksp" version "1.6.10-1.0.2"
}
dependencies {
...
implementation "androidx.room:room-runtime:$room_version"
// kapt "androidx.room:room-compiler:$room_version" not needed anymore
ksp "androidx.room:room-compiler:$room_version"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment