It looks like there are two ways of declaring some Kotlin plugins using plugins DSL: Using the id()
method and the kotlin()
method. For example, the android plugin can be added using either id("kotlin-android")
or kotlin("android")
. This is also the case for kapt
but not for parcelize
. Why can't this be kotlin("parcelize")
? Is there a reason for this discrepancy? I tried to look up relevant documentation but that didn't get me very far.