diffplug / diffplug/selfie

[jvm] Address kotlin compiler warnings

Open
#537 1 comment 0 reactions 0 assignees View on GitHub
bug jvm
Dominant language
Kotlin
Stars
101
Forks
18
PR merge metrics
No merged PRs in 30d

Description

**Environment:** Windows 10, IntelliJ 2025.1.1.1, no additional setup

**Actual**:
When I fork repository, and run `gradle assemble` task, I see many kotlin compiler warnings. As a non-maintainer, I have no way of knowing if those are expected, or there is some problem with my local setup. But by looking at these warnings, It seems like they will be present on any environment.

**Expected**:
1) `gradle clean assemble` finishes without kotlin compiler warnings
2) Optional: to prevent warnings pile up in the future, configure gradle/kotlin to treat warnings as errors, so that `gradle assemble` task fails if there are compiler warnings

![Image](https://github.com/user-attachments/assets/7f53ecea-88f7-4162-8fe1-527fe65f8df6)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.