brookmg
06/27/2023, 8:37 AMCaused by: org.gradle.api.artifacts.UnknownConfigurationException: Configuration with name 'kotlinCompilerPluginClasspath' not found.
error when trying to add it as dependency. Using groovy for the configs and not kts. Is there any classpath I need to add?brookmg
06/27/2023, 1:21 PMstatmark56
06/30/2023, 9:47 AMkotlinCompilerPluginClasspathDebug
brookmg
06/30/2023, 9:53 AMbrookmg
06/30/2023, 9:56 AMplugins {
id 'java-library'
id 'org.jetbrains.kotlin.jvm'
id 'org.jetbrains.kotlin.plugin.serialization' version '1.6.20'
id 'com.google.devtools.ksp' version "$ksp_version"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceSets["main"].java {
srcDir('build/generated/ksp/main/kotlin')
}
ksp {
arg("appVersion", rootProject.ext.appVersionCode.toString())
}
}
// set freeCompilerArgs
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-P", "plugin:app.example.localization_ksp.kcp.TKeyVerifier:enable=false"]
}
}
dependencies {
api project(path: ':libs:core:redux')
implementation project(path: ':libs:analytics:core')
ksp project(path: ':analytics-ksp')
implementation "io.arrow-kt:arrow-fx-coroutines:0.13.2"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3"
def koin_version = "3.2.0-beta-1"
implementation "io.insert-koin:koin-core-jvm:$koin_version"
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
kotlinCompilerPluginClasspath(project(":localization-ksp"))
}
brookmg
06/30/2023, 9:57 AM