2022-09-22 18:47:46 +02:00
|
|
|
plugins {
|
|
|
|
id("com.android.application")
|
|
|
|
id("org.jetbrains.kotlin.android")
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-10-11 15:47:14 +02:00
|
|
|
compileSdk = 33
|
2023-01-02 02:49:43 +01:00
|
|
|
buildToolsVersion = "33.0.1"
|
2022-09-22 18:47:46 +02:00
|
|
|
namespace = "app.revanced.integrations"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId = "app.revanced.integrations"
|
|
|
|
minSdk = 23
|
2022-10-11 15:47:14 +02:00
|
|
|
targetSdk = 33
|
2022-09-22 18:47:46 +02:00
|
|
|
multiDexEnabled = false
|
2023-01-02 02:50:05 +01:00
|
|
|
versionName = project.version as String
|
2022-09-22 18:47:46 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
2022-09-26 16:28:55 +02:00
|
|
|
isMinifyEnabled = true
|
2023-01-02 02:50:32 +01:00
|
|
|
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"
|
|
|
|
}
|
2022-09-22 18:47:46 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility(JavaVersion.VERSION_11)
|
|
|
|
targetCompatibility(JavaVersion.VERSION_11)
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2022-09-27 15:30:25 +02:00
|
|
|
compileOnly(project(mapOf("path" to ":dummy")))
|
2023-04-03 03:04:04 +02:00
|
|
|
compileOnly("androidx.annotation:annotation:1.6.0")
|
2023-04-30 05:27:21 +02:00
|
|
|
compileOnly("androidx.appcompat:appcompat:1.7.0-alpha02")
|
2023-01-07 09:39:49 +01:00
|
|
|
compileOnly("com.squareup.okhttp3:okhttp:5.0.0-alpha.11")
|
2022-12-06 00:11:55 +01:00
|
|
|
compileOnly("com.squareup.retrofit2:retrofit:2.9.0")
|
2022-09-22 18:47:46 +02:00
|
|
|
}
|
2023-01-05 22:18:24 +01:00
|
|
|
|
|
|
|
tasks.register("publish") { dependsOn("build") }
|