bumptech / bumptech/glide

It's not working with KSP

Open
#5,649 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.