https://kotlinlang.org logo
#gradle
Title
# gradle
e

eygraber

12/08/2023, 2:59 AM
After updating Kotlin to 1.9.21 from 1.9.20 I started getting a warning (error since I have
-Werror
)
Copy code
w: duplicate library name: com.eygraber:portal
That library doesn't reference itself in any way, and it only seems to get this warning on
compileTestKotlinJs
. Running
gradle build -x :portal:compileTestKotlinJs
succeeds. Is this a known issue with 1.9.21?
t

tapchicoma

12/08/2023, 8:20 AM
AFAIK it is not known issue and I don't see any obvious commit in 1.9.21 release that may cause it. Please open an issue with repro project.
e

eygraber

12/08/2023, 6:04 PM
My mistake it was happening before as well; I ran
gradle build
which I don't usually do. Currently bisecting to find when this started.
Bisect shows that this started happening when updating atomicFu from 0.20.2 to 0.21.0 (it's currently 0.23.0)
Looks like I've been here before 🙈 Still broken though, so it really shouldn't be closed. https://github.com/Kotlin/kotlinx-atomicfu/issues/289
Well I guess the issue is slightly different since the warning is no longer about atomicfu, but about my own library
3 Views