gradle: fix error after stupid cherry-pick
All checks were successful
Build / build (push) Successful in 1m14s
All checks were successful
Build / build (push) Successful in 1m14s
This commit is contained in:
parent
0e600ad97a
commit
7640787db9
1 changed files with 15 additions and 11 deletions
|
@ -37,12 +37,18 @@ subprojects {
|
||||||
// when running through github workflow, GITHUB_REPOSITORY should contain current repository name
|
// when running through github workflow, GITHUB_REPOSITORY should contain current repository name
|
||||||
// you can modify it to use other git hosting services, like gitlab
|
// you can modify it to use other git hosting services, like gitlab
|
||||||
setRepo("CakesTwix", "cloudstream-extensions-uk", "gitea-git.cakestwix.com")
|
setRepo("CakesTwix", "cloudstream-extensions-uk", "gitea-git.cakestwix.com")
|
||||||
|
authors = listOf("CakesTwix")
|
||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
val cloudstream by configurations
|
namespace = "ua.CakesTwix"
|
||||||
val implementation by configurations
|
|
||||||
cloudstream("com.lagradost:cloudstream3:pre-release")
|
defaultConfig {
|
||||||
|
minSdk = 21
|
||||||
|
compileSdkVersion(35)
|
||||||
|
targetSdk = 35
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||||
|
@ -54,19 +60,17 @@ subprojects {
|
||||||
jvmTarget = "1.8" // Required
|
jvmTarget = "1.8" // Required
|
||||||
// Disables some unnecessary features
|
// Disables some unnecessary features
|
||||||
freeCompilerArgs = freeCompilerArgs +
|
freeCompilerArgs = freeCompilerArgs +
|
||||||
"-Xno-call-assertions" +
|
"-Xno-call-assertions" +
|
||||||
"-Xno-param-assertions" +
|
"-Xno-param-assertions" +
|
||||||
"-Xno-receiver-assertions"
|
"-Xno-receiver-assertions"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
val apk by configurations
|
val cloudstream by configurations
|
||||||
val implementation by configurations
|
val implementation by configurations
|
||||||
|
cloudstream("com.lagradost:cloudstream3:pre-release")
|
||||||
// Stubs for all Cloudstream classes
|
|
||||||
apk("com.lagradost:cloudstream3:pre-release")
|
|
||||||
|
|
||||||
// these dependencies can include any of those which are added by the app,
|
// 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
|
// but you dont need to include any of them if you dont need them
|
||||||
|
|
Loading…
Reference in a new issue