TheDukerChip
09/13/2022, 4:19 AMUnknownPluginException
for KSP
org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'com.google.devtools.ksp', version: '1.7.10-1.0.6'] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Plugin Repositories (could not resolve plugin artifact 'com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.7.10-1.0.6')
Following is the configuration added in my android project app/build.gradle
plugins {
id("com.android.application")
id("kotlin-android")
id 'com.google.devtools.ksp' version("1.7.10-1.0.6")
}
dependencies {
"""
def room_version = "2.4.3"
implementation "androidx.room:room-runtime:$room_version"
ksp "androidx.room:room-compiler:$room_version"
}
Jiaxiang
09/13/2022, 5:26 PM