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
4.10.1 & 4.10.2: Cannot publish artifact 'compileScala.mapping' (PATH) as it does not exist. #6849
Comments
Yep, I've confirmed this. As a workaround, you can create a Is |
The problem occurs in both cases. If there are some non-test java (but not scala) classes, the easy fix is to also add
so the joint compiler is used for the java classes. If there are only test classes in the project, then you have to use the ugly workaround. :/ |
If there are only test classes, you could also put everything in "main" if you are sharing those classes with other projects. This is what we do in gradle/gradle for our testing only infrastructure projects. |
Seeing this as well in modules that have all java source + scalatests |
@brosander That can be fixed by
|
Seeing this as well in some of our production Scala projects at LinkedIn |
@big-guy Moving tests to main is a pretty ugly workaround. |
We seeing this error appeared randomly even in normal module as well. Haven't investigated further but it does look like that it happens when we just rerun the same build and some tasks are cached. |
Yup. With 4.10 this works well, but there are other bugs... |
This will be released in 4.10.3 (hopefully today) |
Is the fix present also in 5.0? |
Yes |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [gradle](https://gradle.org) ([source](https://togithub.com/gradle/gradle)) | patch | `4.10.2` -> `4.10.3` | --- ### Release Notes <details> <summary>gradle/gradle</summary> ### [`v4.10.3`](https://togithub.com/gradle/gradle/releases/tag/v4.10.3): 4.10.3 This bug-fix release contains **3** changes to Gradle 4.10.2: - [gradle/gradle#7510 - [gradle/gradle#6849 - [gradle/gradle#7014 It also incorporates all fixes to 4.10.1 and 4.10.2. We recommend that you use Gradle 4.10.3 over 4.10, 4.10.1 and 4.10.2. #### Upgrade Instructions Switch your build to use Gradle 4.10.3 by updating your wrapper properties: `./gradlew wrapper --gradle-version=4.10.3` Standalone downloads are available at https://gradle.org/install. #### Reporting Problems If you find a problem with Gradle 4.10.3, please file a bug on [GitHub Issues](https://togithub.com/gradle/gradle/issues) adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the [forum](https://discuss.gradle.org/c/help-discuss). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/dooboolab/flutter_inapp_purchase). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This project (which contains only Java main classes, but utilises Scala for joint compilation of Java and Scala test classes) fails on :scala-for-tests-only:install with
This happens only on 4.10.1 and 4.10.2. 4.10 and older versions work.
The text was updated successfully, but these errors were encountered: