Generated Classes are removed on CI
See original GitHub issueBuild Environment SQLDelight version: 1.4.4 OS: macOS Catalina 10.15.7 Gradle version: gradle-6.8-rc-4 Kotlin version: 1.4.30-M1
Describe the bug Hello 👋
In my CI i simply run ./gradlew build --parallel
. The error below is not happening when I use version 1.4.3
. When I use version 1.4.4
I have a long logcat that contains
Unresolved reference: DatabaseName
Unresolved reference: QueryNames
Unresolved reference: Models
It seems all generated files are removed.
Note: The bug happens also earlier version of Kotlin and grade so it is not related with them.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:6
Top Results From Across the Web
Reclassify a CI - ServiceNow Docs
Create a CI class · Delete CIs · View and edit class definitions and metadata · Update the list of classes in the...
Read more >java - Is it a good practice to include generated classes into ...
IMHO, it's a good practice to only include the .proto file in the source code, and re-generate these classes when you compile your...
Read more >Troubleshooting CI/CD - GitLab Docs
After the pipeline is created, the message updates with the pipeline status. ... Look for duplicated configuration that can be removed or simplified....
Read more >The IDEA Plugin - Gradle User Manual
The IDEA plugin generates files that are used by IntelliJ IDEA, thus making it ... set of hooks for adding and removing content...
Read more >Removing sources from generated code | MPS - JetBrains
It is a matter of a singleControl + click for them to see the implementation of a method that they are calling or...
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
@atripathi-chwy We also had similar problems on CI. Our workaround:
Maybe it helps 😃
this is very likely #1039
if you have multiple variants, and run both of their
generateSqlDelightInterface
tasks in parallel, its possible one of them deletes the output of the other. If you’re not on android with multiple variants feel free to reopen. We’ll try to fix the core issue soon