Change a parameter "context" in script templates to environment: Map<String, Any?>?
This commit is contained in:
committed by
Pavel V. Talanov
parent
bf683a63fb
commit
f30b402640
+1
-1
@@ -35,7 +35,7 @@ class GradleScriptTemplateProvider(project: Project, gim: GradleInstallationMana
|
||||
gradleLibsPath?.listFiles { file -> file.extension == "jar" && depLibsPrefixes.any { file.name.startsWith(it) } }
|
||||
?.map { it.canonicalPath }
|
||||
?: emptyList()
|
||||
override val context: Any? = gradleHome
|
||||
override val environment: Map<String, Any?>? = kotlin.collections.mapOf("gradleHome" to gradleHome)
|
||||
|
||||
companion object {
|
||||
private val depLibsPrefixes = listOf("gradle-script-kotlin", "gradle-core")
|
||||
|
||||
Reference in New Issue
Block a user