From e10af973977725e832730f251e3d3fa220cc91aa Mon Sep 17 00:00:00 2001 From: Yuriy Elistratov Date: Fri, 6 Sep 2024 17:05:39 +0400 Subject: [PATCH] Build: Fix deprecated kotlinOptions --- build.gradle.kts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 08473216..3f4c6818 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -2,9 +2,9 @@ subprojects { tasks.withType().configureEach { - kotlinOptions.freeCompilerArgs += listOf( - "-opt-in=com.redmadrobot.debug.core.annotation.DebugPanelInternal" - ) + compilerOptions { + freeCompilerArgs.add("-opt-in=com.redmadrobot.debug.core.annotation.DebugPanelInternal") + } } }