-
Notifications
You must be signed in to change notification settings - Fork 305
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Looks like Kotlin 1.7 has some gradle changes which broke the task. The app builds fine otherwise.
Link to relevant (?) Kotlin compatibility guide entry here.
Error shown on build:
java.lang.NoSuchMethodError: 'java.io.File org.jetbrains.kotlin.gradle.tasks.KotlinCompile.getDestinationDir()'
at io.objectbox.gradle.transform.ObjectBoxAndroidTransform$Registration$addDestinationDirOfKotlinCompile$1.transform(ObjectBoxAndroidTransform.kt:164)
Basic info (please complete the following information):
- ObjectBox version (are you using the latest version?):
3.2.0 - Reproducibility: always
To Reproduce
Steps to reproduce the behavior:
- Upgrade app to Kotlin 1.7
- Run Unit Test
- See error
Dependencies
debugImplementation "io.objectbox:objectbox-android-objectbrowser:$objectboxVersion"
releaseImplementation "io.objectbox:objectbox-android:$objectboxVersion"
kapt("io.objectbox:objectbox-processor:$objectboxVersion")
implementation("io.objectbox:objectbox-kotlin:$objectboxVersion")Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working