Skip to content

Conversation

@lkishalmi
Copy link
Contributor

Well, this upgrade was not that easy as I thought would be. Mostly due to the Micronaut based test projects were too old to work with Gradle 9, and when I upgraded the Micronaut plugin version some tests needed some adjustments as well.

During testing I've found some API design issues, those would be addressed later (if ever).

I think there are some Micronaut mines still out there, so I mark this one Draft till I can cover those.

@lkishalmi lkishalmi requested review from mbien and sdedic December 28, 2025 23:41
@lkishalmi lkishalmi added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Gradle [ci] enable "build tools" tests Micronaut [ci] enable enterprise job labels Dec 28, 2025
this.value = value;
this.name = propertyName;
}
public static final record Property(Object id, String scope, String name, PropertyKind kind, String type, String value) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: records are implicitly final and static

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh. I left that change unintentionally there. I just needed a quick and good toString() method for debugging.

Well, if it made there let's keep that, I'll just remove the static final in the upcoming commit.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its something we could also add as editor hint. I put it on my TODO list ;)

@mbien
Copy link
Member

mbien commented Dec 29, 2025

found this in my stash as leftover of #8814 which might be needed on newer gradle versions:

diff --git a/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle b/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle
index ef7b070ca4..0eff699006 100644
--- a/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle
+++ b/java/gradle.dependencies/test/unit/data/projects/multi/oci/build.gradle
@@ -31,7 +31,7 @@ java {
 }
 
 task testJar(type: Jar) {
-    classifier = 'tests'
+    archiveClassifier = 'tests'
     from sourceSets.test.output
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Gradle [ci] enable "build tools" tests Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) Micronaut [ci] enable enterprise job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants