kotlin-kapt插件支持Android的註解處理
1、配置kotlin-kapt插件
apply plugin: 'kotlin-kapt'
2、替換註解依賴
implementation 'com.github.bumptech.glide:glide:4.9.0' kapt 'com.github.bumptech.glide:compiler:4.9.0'
kotlin-kapt插件支持Android的註解處理
1、配置kotlin-kapt插件
apply plugin: 'kotlin-kapt'
2、替換註解依賴
implementation 'com.github.bumptech.glide:glide:4.9.0' kapt 'com.github.bumptech.glide:compiler:4.9.0'