From e82b8a1bdc14a9d262fd30426ad61d9b0af8b5c6 Mon Sep 17 00:00:00 2001 From: Sergey Rostov Date: Wed, 1 Apr 2020 17:59:02 +0300 Subject: [PATCH] buildSrc, kotlin-dsl plugin: suppress experimentalWarning This warning is about https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin. It appears after we are strating using our bootstrap plugin for buildSrc too. It is unlikely that new compiler will broke build scripts compilation for our project, so we can suppress it. --- buildSrc/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 113c8c4b1d9..93ae8781c9c 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -56,6 +56,10 @@ gradlePlugin { } } +kotlinDslPluginOptions { + experimentalWarning.set(false) +} + fun Project.getBooleanProperty(name: String): Boolean? = this.findProperty(name)?.let { val v = it.toString() if (v.isBlank()) true