From 7640787db97432323619b482aeed2a0bc5497749 Mon Sep 17 00:00:00 2001 From: CakesTwix Date: Mon, 13 Jan 2025 21:41:14 +0200 Subject: [PATCH] gradle: fix error after stupid cherry-pick --- build.gradle.kts | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 727d9b4..f83bdf5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,4 +1,4 @@ -import com.lagradost.cloudstream3.gradle.CloudstreamExtension +import com.lagradost.cloudstream3.gradle.CloudstreamExtension import com.android.build.gradle.BaseExtension buildscript { @@ -37,12 +37,18 @@ subprojects { // when running through github workflow, GITHUB_REPOSITORY should contain current repository name // you can modify it to use other git hosting services, like gitlab setRepo("CakesTwix", "cloudstream-extensions-uk", "gitea-git.cakestwix.com") + authors = listOf("CakesTwix") } android { - val cloudstream by configurations - val implementation by configurations - cloudstream("com.lagradost:cloudstream3:pre-release") + namespace = "ua.CakesTwix" + + defaultConfig { + minSdk = 21 + compileSdkVersion(35) + targetSdk = 35 + + } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 @@ -54,19 +60,17 @@ subprojects { jvmTarget = "1.8" // Required // Disables some unnecessary features freeCompilerArgs = freeCompilerArgs + - "-Xno-call-assertions" + - "-Xno-param-assertions" + - "-Xno-receiver-assertions" + "-Xno-call-assertions" + + "-Xno-param-assertions" + + "-Xno-receiver-assertions" } } } dependencies { - val apk by configurations + val cloudstream by configurations val implementation by configurations - - // Stubs for all Cloudstream classes - apk("com.lagradost:cloudstream3:pre-release") + cloudstream("com.lagradost:cloudstream3:pre-release") // these dependencies can include any of those which are added by the app, // but you dont need to include any of them if you dont need them