-
-
Notifications
You must be signed in to change notification settings - Fork 124
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
Use asm unshadowed and upgrade to 9.4 #806
Conversation
src/functionalTest/groovy/com/autonomousapps/jvm/Java19Spec.groovy
Outdated
Show resolved
Hide resolved
src/functionalTest/groovy/com/autonomousapps/jvm/JavaToolchainSpec.groovy
Outdated
Show resolved
Hide resolved
Steps
|
GRADLE_7_5 | 18 | ||
GRADLE_7_5 | 19 | ||
GRADLE_7_6 | 18 | ||
GRADLE_7_6 | 19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Questions
- Do you want this to use the
gradleVersions()
method like the other tests? - Do you want me to query Adoptium API to try and get latest version of Java so it's easier to catch? It's gross but it might be useful. Not sure your opinion. Could just list out the ones we want to test (like 8, 11, 17, 19, ... then just add more as time goes on).
- If I do multiple versions of Java toolchain and gradle versions, do you want me to make it so it's all toolchains on one version of gradle then all versions of gradle with one version of toolchain? That way it's not n^2 and just 2n tests haha.
I got a test failure finally so went ahead and rebased. Sure enough, it works now! Were you interested in the error message thing or the testing against more versions of gradle/java? |
@JacksonBailey thanks for your continued work on this! I haven't had a chance to review in depth yet, but I will. |
@autonomousapps no worries, take your time. Enjoy your Thanksgiving (if you're from the states). Glancing back over this now the change you made should fix the problem found in the issue. At the moment this is just a unit test to make sure it doesn't come back. Essentially your other PR bumping to 9.4 should fix everything, this is just the extra assurance. |
Wow you were not wrong with the "Comment out all but the last for speed" comment 😅 I've updated the tests since there have been some breaking changes in the test fixtures support API. I also updated the spec matrix to reference more versions of Gradle. I'm currently running it only against Gradle 7.6. I tried to run it against Gradle 8.3 and 8.5, but go some errors. I don't have the bandwidth now to address them, but if you feel like picking this up again I will try to move faster. I will merge this when green (running against 7.6). |
Don't beat yourself up at all, we appreciate your work. ❤️ I might take a peek, but no promises. At the moment I am more interested in getting Java 20 and Java 21 to work (I assume they don't, just responding because I saw this in my email) than getting more Gradle versions to work. |
Big heads up:
I will look into running the full suite (and even the quick suite) soon, but this is just something quick and dirty so show the proof of concept.
For what it is worth, here is my project where the fix is shown in use. It's not really anything to look at but if you'd like to clone it and try you can. The
buildHealth
task works with the snapshot build here but not with1.14.1
.See #798