Last active
May 5, 2022 14:17
-
-
Save adibfara/ea3373b8dd4b3a4f5412131ad9a27d56 to your computer and use it in GitHub Desktop.
Setup Guide for KSP
This file contains 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
// to help the IDE recognize the KSP generated files, add the following to your app's build.gradle | |
android { | |
kotlin { | |
sourceSets.debug { | |
kotlin.srcDirs += 'build/generated/ksp/debug/kotlin' | |
} | |
sourceSets.release { | |
kotlin.srcDirs += 'build/generated/ksp/release/kotlin' | |
} | |
} | |
} | |
// add the following the KSP module's build.gradle | |
dependencies { | |
implementation "com.google.devtools.ksp:symbol-processing-api:1.6.20-1.0.5" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment