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")
|
id("jps-compatible")
|
||||||
}
|
}
|
||||||
|
|
||||||
jvmTarget = "1.6"
|
jvmTarget = "1.8"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile(project(":kotlin-script-runtime"))
|
compile(project(":kotlin-script-runtime"))
|
||||||
|
|||||||
+1
@@ -48,6 +48,7 @@ interface ScriptDefinitionsProvider {
|
|||||||
/**
|
/**
|
||||||
* The callback to update/add/remove script definitions after loading, if needed
|
* The callback to update/add/remove script definitions after loading, if needed
|
||||||
*/
|
*/
|
||||||
|
@JvmDefault
|
||||||
fun provideDefinitions(
|
fun provideDefinitions(
|
||||||
baseHostConfiguration: ScriptingHostConfiguration,
|
baseHostConfiguration: ScriptingHostConfiguration,
|
||||||
loadedScriptDefinitions: List<ScriptDefinition>
|
loadedScriptDefinitions: List<ScriptDefinition>
|
||||||
|
|||||||
Reference in New Issue
Block a user