Tower Guidev2
01/30/2022, 1:27 PMksp-1.6.0-1.0.2 is too old for kotlin-1.6.10. Please upgrade ksp or downgrade kotlin-gradle-plugin to 1.6.0.
my build fails with ...
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':common:resource:kspStagingDebugKotlin'.
> Error while evaluating property 'filteredArgumentsMap' of task ':common:resource:kspStagingDebugKotlin'
> Failed to query the value of task ':common:resource:kspStagingDebugKotlin' property 'options'.
> Could not resolve all files for configuration ':common:resource:kspStagingDebugKotlinProcessorClasspath'.
> Could not find io.arrow-kt:arrow-optics-ksp-plugin:.
Required by:
project :common:resource
after updating to
id "com.google.devtools.ksp" version "1.6.10-1.0.2"
this stops the "...is too old" messages however my build still fails with same error shown above
my project gradle resembles this...
buildscript {
ext.kotlin_version = "1.6.10"
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.dagger:hilt-android-gradle-plugin:2.40.5'
}
}
allprojects {
repositories {
google()
mavenCentral()
maven { url '<https://jitpack.io>' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
once i had updated the plugin version my build completed ok
ksp "io.arrow-kt:arrow-optics-ksp-plugin:1.0.6-alpha.1"
Thread in Slack Conversation