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:
Dmitry Savvinov
2019-08-01 13:30:52 +03:00
parent 784483e7ac
commit 78ae1a5745
@@ -58,6 +58,7 @@ interface KotlinProjectConfigurator {
New clients are encouraged to override both methods
*/
@JvmDefault
val targetPlatform: TargetPlatform
get() = @Suppress("DEPRECATION_ERROR") getTargetPlatform().toNewPlatform()