mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-29 21:44:26 +02:00
61 lines
1.3 KiB
Plaintext
61 lines
1.3 KiB
Plaintext
plugins {
|
|
alias(libs.plugins.android.library)
|
|
alias(libs.plugins.kotlin.android)
|
|
alias(libs.plugins.kotlin.parcelize)
|
|
`maven-publish`
|
|
}
|
|
|
|
android {
|
|
namespace = "app.revanced.manager.plugin.downloader"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
minSdk = 26
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
buildFeatures {
|
|
aidl = true
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation(libs.androidx.ktx)
|
|
implementation(libs.activity.ktx)
|
|
implementation(libs.runtime.ktx)
|
|
implementation(libs.appcompat)
|
|
}
|
|
|
|
publishing {
|
|
repositories {
|
|
mavenLocal()
|
|
}
|
|
|
|
publications {
|
|
create<MavenPublication>("release") {
|
|
groupId = "app.revanced"
|
|
artifactId = "manager-downloader-plugin"
|
|
version = "1.0"
|
|
|
|
afterEvaluate {
|
|
from(components["release"])
|
|
}
|
|
}
|
|
}
|
|
} |