Clone
Rodrigo B. de Oliveira
committed
on 29 Oct 19
Fix Kotlin DSL accessor for `android.kotlinOptions`
And introduce a stricter accessor type precedence order.

The accessor type is the first… Show more
Fix Kotlin DSL accessor for `android.kotlinOptions`

And introduce a stricter accessor type precedence order.

The accessor type is the first public Kotlin type found in the given extension

type hierarchy considering all the types in the following order:

* the extension type itsef

* its superclasses excluding `java.lang.Object`

* all supported interfaces ordered by:

 - subtyping first:

     subtypes before supertypes

 - where it's found in the class hierarchy:

     subclass interfaces before superclass interfaces

Fixes #11083

Show less

master + 165 more