Skip to content

It's not working with KSP #5649

@josinaldobarbosa

Description

@josinaldobarbosa

I'm using it with Kapt and it works, but I'd like to upgrade to KSP (I already have Hilt in KSP and it works), am I doing something wrong?

Project:

dependencies {
        classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.21'
}

plugins {
    id 'com.google.devtools.ksp' version '2.2.21-2.0.4' apply false
}

Module app:

plugins {
    id 'com.google.devtools.ksp'
}

dependencies {
    def glide_version = '5.0.5'
    implementation "com.github.bumptech.glide:glide:${glide_version}"
    implementation "com.github.bumptech.glide:okhttp3-integration:${glide_version}"
    ksp "com.github.bumptech.glide:compiler:${glide_version}"
}
@GlideModule
class MyAppGlideModule : AppGlideModule() {
    override fun registerComponents(context: Context, glide: Glide, registry: Registry) {
        throw RuntimeException("GLIDE MODULE LOADED")
    }
}

The GeneratedAppGlideModuleImpl is not created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions