mirror of
https://github.com/revanced/revanced-integrations.git
synced 2024-12-24 11:45:49 +01:00
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
import java.io.FileInputStream
|
|
import java.util.Properties
|
|
|
|
plugins {
|
|
id("com.android.application")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
compileSdk = 33
|
|
buildToolsVersion = "33.0.1"
|
|
namespace = "app.revanced.integrations"
|
|
|
|
defaultConfig {
|
|
applicationId = "app.revanced.integrations"
|
|
minSdk = 23
|
|
targetSdk = 33
|
|
multiDexEnabled = false
|
|
versionName = project.version as String
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = true
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
applicationVariants.all {
|
|
outputs.all {
|
|
this as com.android.build.gradle.internal.api.ApkVariantOutputImpl
|
|
|
|
outputFileName = "${rootProject.name}-$versionName.apk"
|
|
}
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility(JavaVersion.VERSION_11)
|
|
targetCompatibility(JavaVersion.VERSION_11)
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(mapOf("path" to ":dummy")))
|
|
compileOnly("androidx.annotation:annotation:1.5.0")
|
|
compileOnly("androidx.appcompat:appcompat:1.5.1")
|
|
compileOnly("com.squareup.okhttp3:okhttp:4.10.0")
|
|
compileOnly("com.squareup.retrofit2:retrofit:2.9.0")
|
|
}
|
|
|
|
tasks.register("publish") { dependsOn("build") }
|