mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2026-01-11 13:46:17 +00:00
Co-authored-by: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Co-authored-by: oSumAtrIX <johan.melkonyan1@web.de>
40 lines
770 B
Plaintext
40 lines
770 B
Plaintext
plugins {
|
|
alias(libs.plugins.protobuf)
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":extensions:shared:library"))
|
|
compileOnly(project(":extensions:spotify:stub"))
|
|
compileOnly(libs.annotation)
|
|
|
|
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")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|