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

org.glassfish.jaxb:jaxb-runtime is used but marked as unused #699

Closed
1 task
StefanHirche opened this issue Aug 22, 2023 · 5 comments
Closed
1 task

org.glassfish.jaxb:jaxb-runtime is used but marked as unused #699

StefanHirche opened this issue Aug 22, 2023 · 5 comments

Comments

@StefanHirche
Copy link

StefanHirche commented Aug 22, 2023

🐛 Describe the bug

I just changed to 0.60.0, and now the runtimeOnly dependecy to jaxb-runtime is marked as unused, although it is used in 3 projects.
The strange thing is, if i remove the line from version.properties, it is added again with the refreshVersions task, but marked as unused

⚠️ Current behavior

The dependecy is marked as unused

✅ Expected behavior

It is not marked as unused.

💣 Steps to reproduce

Don't know, maybe using jaxb-runtime is enough.

📱 Tech info

@LouisCAD
Copy link
Member

LouisCAD commented Aug 23, 2023

  1. Do you have the following into your project's gradle.properties file or machine's ~/.gradle/gradle.properties file?
org.gradle.configureondemand=true
  1. Which Gradle version are you using?
  2. Can you link a reproducing project?
  3. Also, do you believe it is related to your other issue, Dependencies in the classpath configuration in the buildscript block of build.gradle are marked unused #700

LouisCAD added a commit that referenced this issue Aug 24, 2023
@StefanHirche
Copy link
Author

  1. Do you have the following into your project's gradle.properties file or machine's ~/.gradle/gradle.properties file?
org.gradle.configureondemand=true

No, I don't. But I can check if this changes anything.

2. Which Gradle version are you using?

7.6.2

3. Can you link a reproducing project?

I will try

4. Also, do you believe it is related to your other issue, [Dependencies in the classpath configuration in the buildscript block of build.gradle are marked unused #700](https://github.com/Splitties/refreshVersions/issues/700)

I'm not sure, as I found several similar issues in refreshVersion's issues list, but all only mentioning a destinct artifact dependency, so I just added my problem artifact, as all others are working fine. And this problem occurs in a normal dependency block.

@LouisCAD
Copy link
Member

Can you try with version 0.60.2-SNAPSHOT and let me know if the issue is fixed?

You'll need to add the snapshots repo. Instructions here:
https://splitties.github.io/refreshVersions/setup/#if-you-want-to-use-a-snapshot-version

I plan to release 0.60.2 this Tuesday, after a good night of sleep.

@StefanHirche
Copy link
Author

I just tested the snapshot and it looks good. No "unused" entries anymore, at least no unexpected ones.
Thanks.

@LouisCAD
Copy link
Member

Great, releasing in several minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants