KyoriPowered / indra

A set of Gradle plugins to apply common organization build settings.
MIT License
32 stars 6 forks source link

Kotlin: Property is final and cannot be changed any further #132

Closed powercasgamer closed 1 year ago

powercasgamer commented 1 year ago

Removing the Properties.finalized from here https://github.com/KyoriPowered/indra/blob/551a3a783f1e5c46b31c8abbdb640b1d88938487/indra-common/src/main/java/net/kyori/indra/internal/JavaToolchainVersionsImpl.java#L65 should fix this

Caused by: java.lang.IllegalStateException: The value for this property is final and cannot be changed any further is the error which I've been getting for like a year now

Looks like the issue is related to Kotlin since I cannot reproduce on a project without Kotlin

https://github.com/powercasgamer/indra-java-kotlin-issue