File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties
22import org.jetbrains.dokka.gradle.engine.parameters.KotlinPlatform
33import org.jetbrains.dokka.gradle.engine.parameters.VisibilityModifier
4+ import org.jetbrains.kotlin.gradle.dsl.JvmDefaultMode
45import org.jetbrains.kotlin.gradle.dsl.JvmTarget
56import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
67
@@ -272,11 +273,9 @@ tasks.register<Jar>("makeJar") {
272273tasks.withType<KotlinJvmCompile > {
273274 compilerOptions {
274275 jvmTarget.set(javaTarget)
275- freeCompilerArgs.addAll(
276- " -Xjvm-default=all-compatibility" ,
277- " -Xannotation-default-target=param-property" ,
278- " -opt-in=com.lagradost.cloudstream3.Prerelease"
279- )
276+ jvmDefault.set(JvmDefaultMode .ENABLE )
277+ optIn.add(" com.lagradost.cloudstream3.Prerelease" )
278+ freeCompilerArgs.add(" -Xannotation-default-target=param-property" )
280279 }
281280}
282281
You can’t perform that action at this time.
0 commit comments