Build: Workaround IndexOutOfBoundsException on configuration with gradle 4.7
Using delegated property syntax somehow causes IndexOutOfBoundsException from kotlin-reflect, needs further investigation Should be reverted after #KT-23413 is resolved
This commit is contained in:
+1
-1
@@ -286,7 +286,7 @@ allprojects {
|
|||||||
// therefore it is disabled by default
|
// therefore it is disabled by default
|
||||||
// buildDir = File(commonBuildDir, project.name)
|
// buildDir = File(commonBuildDir, project.name)
|
||||||
|
|
||||||
val repos: List<String> by rootProject.extra
|
val repos = rootProject.extra["repos"] as List<String>
|
||||||
repositories {
|
repositories {
|
||||||
intellijSdkRepo(project)
|
intellijSdkRepo(project)
|
||||||
androidDxJarRepo(project)
|
androidDxJarRepo(project)
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ allprojects {
|
|||||||
// therefore it is disabled by default
|
// therefore it is disabled by default
|
||||||
// buildDir = File(commonBuildDir, project.name)
|
// buildDir = File(commonBuildDir, project.name)
|
||||||
|
|
||||||
val repos: List<String> by rootProject.extra
|
val repos = rootProject.extra["repos"] as List<String>
|
||||||
repositories {
|
repositories {
|
||||||
intellijSdkRepo(project)
|
intellijSdkRepo(project)
|
||||||
androidDxJarRepo(project)
|
androidDxJarRepo(project)
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val pluginXml by tasks.creating {
|
val pluginXml by tasks.creating {
|
||||||
val kotlinVersion: String by rootProject.extra
|
val kotlinVersion = rootProject.extra["kotlinVersion"] as String
|
||||||
val pluginFullVersionNumber = findProperty("pluginVersion") as? String
|
val pluginFullVersionNumber = findProperty("pluginVersion") as? String
|
||||||
?: "$kotlinVersion-CIDR"
|
?: "$kotlinVersion-CIDR"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user