Annotate default interface method with JvmDefault
To keep compatibility with external plugin(s) which inherit their Java-classes from KotlinProjectConfigurator and make CompatibilityChecker happy
This commit is contained in:
@@ -58,6 +58,7 @@ interface KotlinProjectConfigurator {
|
|||||||
|
|
||||||
New clients are encouraged to override both methods
|
New clients are encouraged to override both methods
|
||||||
*/
|
*/
|
||||||
|
@JvmDefault
|
||||||
val targetPlatform: TargetPlatform
|
val targetPlatform: TargetPlatform
|
||||||
get() = @Suppress("DEPRECATION_ERROR") getTargetPlatform().toNewPlatform()
|
get() = @Suppress("DEPRECATION_ERROR") getTargetPlatform().toNewPlatform()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user