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
|
||||
// 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
|
||||
|
|
Loading…
Reference in a new issue