From 4f54e0ebebb9907e661ebfff765523fbbd6a2fd6 Mon Sep 17 00:00:00 2001 From: Nariman Abdullin Date: Tue, 2 May 2023 12:53:19 +0300 Subject: [PATCH] supported change in compilerOptions in Gradle 8.x --- gradle/plugins/build.gradle.kts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle/plugins/build.gradle.kts b/gradle/plugins/build.gradle.kts index e51ffc142a..f2125efba9 100644 --- a/gradle/plugins/build.gradle.kts +++ b/gradle/plugins/build.gradle.kts @@ -39,7 +39,7 @@ dependencies { } tasks.withType { - kotlinOptions { - freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn" + compilerOptions { + freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn") } }