<@U0RM4EPC7> thanks for your suggestions when i fo...
# ksp
t
@simon.vergauwen thanks for your suggestions when i follow your first link my build reports the following message (30 times 🙂 )
ksp-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
Copy code
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...
Copy code
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
Copy code
ksp "io.arrow-kt:arrow-optics-ksp-plugin:1.0.6-alpha.1"
Thread in Slack Conversation