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:
Vyacheslav Gerasimov
2018-06-09 19:55:21 +03:00
parent 0065a74c7e
commit 4b3a989b90
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -286,7 +286,7 @@ allprojects {
// therefore it is disabled by default
// buildDir = File(commonBuildDir, project.name)
val repos: List<String> by rootProject.extra
val repos = rootProject.extra["repos"] as List<String>
repositories {
intellijSdkRepo(project)
androidDxJarRepo(project)
+1 -1
View File
@@ -285,7 +285,7 @@ allprojects {
// therefore it is disabled by default
// buildDir = File(commonBuildDir, project.name)
val repos: List<String> by rootProject.extra
val repos = rootProject.extra["repos"] as List<String>
repositories {
intellijSdkRepo(project)
androidDxJarRepo(project)
+1 -1
View File
@@ -20,7 +20,7 @@ dependencies {
}
val pluginXml by tasks.creating {
val kotlinVersion: String by rootProject.extra
val kotlinVersion = rootProject.extra["kotlinVersion"] as String
val pluginFullVersionNumber = findProperty("pluginVersion") as? String
?: "$kotlinVersion-CIDR"