christianbecker
11/12/2018, 12:01 PMParcelize
from the Kotlin Android Extensions with Gradle KTS. I just created a minimal sample project, that highlights the error: https://github.com/ChristianBecker/parcelize_kts
• If I use app/build.gradle
everything works fine
• If I use app/build.gradle.kts
(by un-commenting line 4 in settings.gradle.kts
) the Kotlin Compiler is unable to find Parcelize
on the classpath and fails the build:
e: […]/ParcelizeModel.kt: (4, 24): Unresolved reference: parcel
e: […]/ParcelizeModel.kt: (6, 2): Unresolved reference: Parcelize
e: […]/ParcelizeModel.kt: (7, 6): Class 'ParcelizeModel' is not abstract and does not implement abstract member public abstract fun writeToParcel(p0: Parcel!, p1: Int): Unit defined in android.os.Parcelable
Is this the right channel, or should I post this in #gradle, or somewhere else? (Sorry for copy-pasting, I just wanted to extend the scope)igor.wojda
11/12/2018, 3:14 PMchristianbecker
11/12/2018, 7:59 PM