我正在尝试将gradle插件从groovy迁移到kotlin。> = project.objects.property(Boolean::class.java)
myBooleanProperty.set(false)}这将失败,原因是
java.lang.IllegalArgumentException: Cannot set the value of a property of type boolean usingan instance of type java.la
我正试图在Kotlin实现一个MyIntList扩展java.util.AbstractList<Int>。AbstractList<E>同时定义了E remove(int index)和boolean remove(Object o)。remove' is not a subtype of the return type of the overridden member 'public open fun remove(element: kotlin.Int: kotlin.<e