Skip to content
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

Must not use executable property on Test together with javaLauncher property #1358

Open
jansorg opened this issue Apr 1, 2023 · 4 comments
Labels

Comments

@jansorg
Copy link

jansorg commented Apr 1, 2023

Describe the bug
I updated from 1.13.2 to 1.13.3. With the new version, the following error is shown for a ./gradlew clean build, but I don't have defined any of these properties.

> Task :core-shared:test FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':core-shared:test'.
> Must not use `executable` property on `Test` together with `javaLauncher` property

To Reproduce
Sorry, this isn't a public repository.

Expected behavior

Environment:

  • OS: Linux
  • Gradle IntelliJ Plugin Version 1.13.2
  • Gradle Version: Gradle Wrapper 7.5.1
@jansorg jansorg added the bug label Apr 1, 2023
@hsz
Copy link
Member

hsz commented Apr 1, 2023

Seems it's an issue with Gradle 7.x. Are you able to switch to 8.x?

@MCMicS
Copy link

MCMicS commented Apr 2, 2023

same to me for Gradle 7.
After Upgrade to Gradle 8 the erro ris gone

Build Error; https://github.com/MCMicS/jenkins-control-plugin/actions/runs/4589330799

@hsz hsz pinned this issue Apr 2, 2023
@duemir
Copy link

duemir commented Apr 3, 2023

Ditto, Gradle 7.5.1.
https://github.com/jenkinsci/idea-stapler-plugin/pull/148/checks?check_run_id=12414944325
Upgrading to Gradle 8 noted

@jansorg
Copy link
Author

jansorg commented Apr 5, 2023

Unfortunately I can't switch to Gradle 8.x for some of my projects because there's at least one other Gradle plugin incompatible with 8.x.

hsz added a commit that referenced this issue May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants