mirror of
https://github.com/revanced/revanced-patches.git
synced 2025-12-07 01:51:27 +01:00
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Co-authored-by: brosssh <tiabroch@gmail.com> Co-authored-by: Dawid Krajcarz <80264606+drobotk@users.noreply.github.com> Co-authored-by: LisoUseInAIKyrios <118716522+LisoUseInAIKyrios@users.noreply.github.com>
41 lines
827 B
Kotlin
41 lines
827 B
Kotlin
plugins {
|
|
alias(libs.plugins.protobuf)
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":extensions:shared:library"))
|
|
compileOnly(project(":extensions:spotify:stub"))
|
|
compileOnly(libs.annotation)
|
|
|
|
implementation(project(":extensions:spotify:utils"))
|
|
implementation(libs.nanohttpd)
|
|
implementation(libs.protobuf.javalite)
|
|
}
|
|
|
|
android {
|
|
defaultConfig {
|
|
minSdk = 21
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
protobuf {
|
|
protoc {
|
|
artifact = libs.protobuf.protoc.get().toString()
|
|
}
|
|
|
|
generateProtoTasks {
|
|
all().forEach { task ->
|
|
task.builtins {
|
|
create("java") {
|
|
option("lite")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|