Usman Akhmedov
06/02/2024, 2:48 PM[ksp] loaded provider(s): [androidx.room.RoomKspProcessor$Provider]
[ksp] [MissingType]: Element 'com.usmonie.word.features.dictionary.data.db.room.models.WordSearchHistoryDb' references a type that is not present
Execution failed for task ':shared:feature:dictionary:data:kspDebugKotlinAndroid'.
A failure occurred while executing com.google.devtools.ksp.gradle.KspAAWorkerAction
> KSP failed with exit code: PROCESSING_ERROR
Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 7s
513 actionable tasks: 6 executed, 507 up-to-date
Watched directory hierarchies: [/Users/usmanakhmedov/StudioProjects/Word-3]
Configuration cache entry stored.
Where `WordSearchHistoryDb`:
@Entity(tableName = "search_history_table")
internal data class SearchHistoryDb(
@PrimaryKey
val word: String
) {
var date: Long = Clock.System.now().epochSeconds
}
internal data class WordSearchHistoryDb(
@Embedded
val search: SearchHistoryDb,
@Relation(parentColumn = "word", entityColumn = "word")
val words: List<WordDb>
)
What have I do to fix that?