Deprecate version field and preserve order of script providers in extension point

It's impossible to guess the order of the final list when there're
providers from different vendors as they might have different versioning systems.

com.intellij.openapi.extensions.LoadingOrder constants can be used by plugins authors to
resolve priority issues.
This commit is contained in:
Nikolay Krasko
2017-01-04 00:39:08 +03:00
parent 0c2247ca41
commit 9f11564708
5 changed files with 16 additions and 12 deletions
@@ -55,7 +55,6 @@ class GradleScriptTemplatesProvider(project: Project): ScriptTemplatesProvider {
}
override val id: String = "Gradle"
override val version: Int = 1
override val isValid: Boolean get() = gradleExeSettings?.gradleHome != null
override val templateClassNames: Iterable<String> = listOf("org.gradle.script.lang.kotlin.KotlinBuildScript")