question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Kotlin multi module support

See original GitHub issue

Version

0.29.0

Issues and Steps to Reproduce

When trying to add a component from a separate module, Unresolved Reference: create exception gets thrown. It works without any problem if component is written in Java.

Repro steps:

  • Create LayoutSpec or MountSpec in a separate module
  • Try adding it in the parent module

Expected Behavior

Components created in a separate module are usable

Link to Code

Repository with a reproducible bug

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
bangonkalicommented, Feb 26, 2020

The screenshot below is when using litho_version = '0.26.1'. It does not build.

image

After upgrading to 0.34.0, it now builds and runs.

  // Litho
  implementation "com.facebook.litho:litho-core:0.34.0"
  implementation "com.facebook.litho:litho-widget:0.34.0"

image

We do have a warning related to incremental builds.

I think we can close this now. I have attached the test project the same as above - only with the references updated to the latest versions I had of writing.

updating-ui.zip

1reaction
bangonkalicommented, Mar 4, 2020

@colriot nothing else for now. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi Modules codegen - Apollo GraphQL Docs
For multi-modules projects, Apollo Kotlin enables you to define queries in a feature module and reuse fragments and types from another module dependency....
Read more >
Design multimodule projects support · Issue #20 - GitHub
The ability to generate a merged top-level report for all modules would be useful in well-designed support for multimodule projects ...
Read more >
Gradle setup for Kotlin multi-module project structure
I have a gradle project setup which looks similar to the one graphed below and I have some trouble setting up the dependencies...
Read more >
Clean Android multi-module offline-first scalable app in 2022
Clean Android multi-module offline-first scalable app in 2022 — including Jetpack ... Moreover, it natively supports lots of Kotlin features so it should ......
Read more >
Managing Android Multi-module Project with Gradle Plugin ...
Enables supported Java 8 features across all modules. Adds required dependencies to a module, such as kotlin-stdlib; Configures Jacoco for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found