Zach
09/16/2022, 7:02 PMksp()
it shows up as an unresolved reference. In an attempt to add ksp to my project, I followed the quickstart guide here https://kotlinlang.org/docs/ksp-quickstart.html but when I sync gradle I get a significant amount of errors. Am I doing something wrong?Zach
09/16/2022, 7:11 PMorg.gradle.internal.exceptions.LocationAwareException: Build file '/Users/zach.calman/Projects/step-out-android/build.gradle.kts' line: 2
Plugin [id: 'com.android.application', version: '7.2.2', apply: false] was not found in any of the following sources:
tapchicoma
09/16/2022, 7:34 PMgoogle()
in GradleZach
09/16/2022, 7:38 PMZach
09/16/2022, 7:39 PMpluginManagement {
val kspVersion: String by settings
val kotlinVersion: String by settings
plugins {
id("org.jetbrains.kotlin.android") version kotlinVersion apply false
id("com.google.devtools.ksp") version kspVersion
kotlin("jvm") version kotlinVersion
}
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
Zach
09/16/2022, 7:39 PMkotlin("jvm")
to any modules or use ksp()
dependenciesZach
09/16/2022, 7:49 PMcom.google.devtools.ksp
to my module-level build.gradle. kotlin("jvm")
was not required.Vampire
09/17/2022, 2:11 AMpluginManagement { plugins { ... } }
block just defines default versions for plugins if they are used in the build. apply false
there is useless.Zach
09/19/2022, 3:44 PM