Add JvmDefault to the new EP method for compatibility with older impls
This commit is contained in:
@@ -4,7 +4,7 @@ plugins {
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
jvmTarget = "1.6"
|
||||
jvmTarget = "1.8"
|
||||
|
||||
dependencies {
|
||||
compile(project(":kotlin-script-runtime"))
|
||||
|
||||
+1
@@ -48,6 +48,7 @@ interface ScriptDefinitionsProvider {
|
||||
/**
|
||||
* The callback to update/add/remove script definitions after loading, if needed
|
||||
*/
|
||||
@JvmDefault
|
||||
fun provideDefinitions(
|
||||
baseHostConfiguration: ScriptingHostConfiguration,
|
||||
loadedScriptDefinitions: List<ScriptDefinition>
|
||||
|
||||
Reference in New Issue
Block a user