-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kapt build error after update from realm 7.0.8 to 10.1.0 #7213
Comments
Hi @kzotin Thanks for the repro project. Just double checking do you still experience this issue with the |
Thanks, haven't noticed the update. Issue is still reproduced with 10.1.0, updated project and build log: Please also note that after failed build kapt locks build directory and |
Hi @kzotin I just released |
Hi @nhachicha, Succeeded to isolate the case - it happens when you add |
Hi @kzotin can you try the new Snapshot release
|
@nhachicha works well for our production app, thank you! |
@kzotin |
Goal
Hi,
I'd like to report an issue we're facing after updating realm-java to 10.0.1
Actual Results
Build fails for multi-module setup: realm models from base module can't be seen in intermediate-layer module during kapt phase:
Our real setup is quite complex (60+ interdependent modules), but I succeeded to reproduce the issue in the simple project.
Steps & Code to Reproduce
Build (
gradlew clean assembleDebug
) following repository:https://github.com/kzotin/RealmBug
Build log:
https://github.com/kzotin/RealmBug/blob/main/assemble-10.0.1.log
If you roll back realm version to 7.0.8 in build.gradle, the project is built successfully.
Version of Realm and tooling
Realm version(s): 10.0.1
Realm Sync feature enabled: No
Android Studio version: 4.1.1
Android Build Tools version: 29.0.2
Gradle version: 6.7
The text was updated successfully, but these errors were encountered: