diff --git a/app/build.gradle.kts b/app/build.gradle.kts index cb5f36d7..0d366db8 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -16,7 +16,6 @@ * along with this program. If not, see . */ -import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile import java.util.Properties val packageName = "ru.solrudev.okkeipatcher" @@ -32,6 +31,10 @@ plugins { kotlin { jvmToolchain(17) + + compilerOptions { + freeCompilerArgs.add("-Xjvm-default=all") + } } base { @@ -110,12 +113,6 @@ android { } } -tasks.withType().configureEach { - compilerOptions { - freeCompilerArgs.add("-Xjvm-default=all") - } -} - tasks.withType().configureEach { useJUnitPlatform() }