Closed Bug 1824052 Opened 2 years ago Closed 2 years ago

Gradle jvm target compatibility warning during AC :tooling-lint:compileKotlin task

Categories

(GeckoView :: General, defect, P1)

All
Android
defect

Tracking

(firefox111 unaffected, firefox112 wontfix, firefox113 fixed)

RESOLVED FIXED
113 Branch
Tracking Status
firefox111 --- unaffected
firefox112 --- wontfix
firefox113 --- fixed

People

(Reporter: RyanVM, Assigned: mcarare)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

I noticed this in the build logs for various AC components today:
https://firefoxci.taskcluster-artifacts.net/IU1pFRG1SRqbTH5TDuik9Q/0/public/logs/live_backing.log

Task :tooling-lint:compileKotlin
'compileJava' task (current target is 11) and 'compileKotlin' task (current target is 1.8) jvm target compatibility should be set to the same Java version.
By default will become an error since Gradle 8.0+! Read more: https://kotl.in/gradle/jvm/target-validation
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain

Are we missing a jvmTarget somewhere?

Flags: needinfo?(mcarare)
Keywords: regression
Regressed by: 1813671

Set release status flags based on info from the regressing bug 1813671

I added the explicit setting for jvmTarget for that module. Not sure why this particular one was affected.

Flags: needinfo?(mcarare)
Assignee: nobody → mcarare
Severity: -- → S3
Priority: -- → P1
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 113 Branch
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: