diff --git a/build.gradle.kts b/build.gradle.kts index 40e04e2ac6e..7d6c7989adb 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -286,7 +286,7 @@ allprojects { // therefore it is disabled by default // buildDir = File(commonBuildDir, project.name) - val repos: List by rootProject.extra + val repos = rootProject.extra["repos"] as List repositories { intellijSdkRepo(project) androidDxJarRepo(project) diff --git a/build.gradle.kts.182 b/build.gradle.kts.182 index 7ad82c22885..3359c210f9b 100644 --- a/build.gradle.kts.182 +++ b/build.gradle.kts.182 @@ -285,7 +285,7 @@ allprojects { // therefore it is disabled by default // buildDir = File(commonBuildDir, project.name) - val repos: List by rootProject.extra + val repos = rootProject.extra["repos"] as List repositories { intellijSdkRepo(project) androidDxJarRepo(project) diff --git a/prepare/cidr-plugin/build.gradle.kts b/prepare/cidr-plugin/build.gradle.kts index 730100db276..e5f4952be5c 100644 --- a/prepare/cidr-plugin/build.gradle.kts +++ b/prepare/cidr-plugin/build.gradle.kts @@ -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"