Runtime dependencies not found for common and native
See original GitHub issueI’m on a pretty new multi-platform project ( Android + iOs, actually ) and I’m trying to import SqlDelight 1.0.0
Added the dependency in the classpath and applied the plugin, in fact the code generation works flawlessly, but com.squareup
is not resolved, neither in the generated code, neither in my files.
I inspected the project structure and found out only the jvm dependency is there in my app module ( Gradle: com.squareup.sqldelight:runtime-jvm:1.0.0@jar
) and, in fact, com.squareup.sqldelight
si resolved for the files in main module ( jvm ), but not for others.
If any addition detail is needed, please tell me, not very experienced in Kotlin multi-platform, probably that’s my fault.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Android app won't build -- The minCompileSdk (31) specified ...
The error is being caused because one of your dependencies is internally using WorkManager 2.7.0-beta01 that was released today (which needs ...
Read more >Identifying application runtime dependencies
Overview. The first step required in order to port any existing application to a container-based environment is to identify the dependencies ...
Read more >Add an option to provide runtime classpath with dependencies ...
When we execute some Java class that has a main(), provided dependencies are not available and, as a result, certain classes cannot be...
Read more >How to resolve “Could not load file or assembly … or one of its ...
Before going into how to resolve this issue, let's understand how runtime ... More often the first step — the assembly is not...
Read more >Learning the Basics - Gradle User Manual
At runtime, Gradle will locate the declared dependencies if needed for operating ... Look for artifacts here if not found at the above...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ahhhhhhhhhhh right you need
in your root settings.gradle. I’ll add to the README.
Awesome!! Solved 😃