revanced-manager/app/build.gradle.kts

130 lines
3.1 KiB
Plaintext
Raw Normal View History

2023-01-28 00:00:52 +01:00
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.devtools)
2023-01-28 00:28:39 +01:00
id("kotlin-parcelize")
kotlin("plugin.serialization") version "1.8.21"
2023-01-28 00:00:52 +01:00
}
2023-03-18 11:53:25 +01:00
2023-01-28 00:00:52 +01:00
android {
namespace = "app.revanced.manager"
2023-01-28 00:00:52 +01:00
compileSdk = 33
buildToolsVersion = "33.0.2"
2023-01-28 00:00:52 +01:00
defaultConfig {
applicationId = "app.revanced.manager"
2023-01-28 00:00:52 +01:00
minSdk = 26
targetSdk = 33
versionCode = 1
versionName = "0.0.1"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
2023-06-04 19:37:23 +02:00
isMinifyEnabled = true
isShrinkResources = true
2023-01-28 00:00:52 +01:00
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
2023-01-28 00:00:52 +01:00
compileOptions {
2023-07-14 10:54:42 +02:00
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
2023-01-28 00:00:52 +01:00
}
2023-05-19 20:49:32 +02:00
packaging {
2023-05-19 20:49:32 +02:00
resources {
excludes += "/prebuilt/**"
2023-07-14 10:54:42 +02:00
excludes += "META-INF/DEPENDENCIES"
2023-05-19 20:49:32 +02:00
}
}
ksp {
arg("room.schemaLocation", "$projectDir/schemas")
}
2023-01-28 00:00:52 +01:00
kotlinOptions {
2023-07-14 10:54:42 +02:00
jvmTarget = "11"
2023-01-28 00:00:52 +01:00
}
buildFeatures.compose = true
composeOptions.kotlinCompilerExtensionVersion = "1.4.7"
2023-01-28 00:00:52 +01:00
}
kotlin {
2023-07-14 10:54:42 +02:00
jvmToolchain(11)
}
2023-01-28 00:00:52 +01:00
dependencies {
// AndroidX Core
implementation(libs.androidx.ktx)
implementation(libs.runtime.ktx)
implementation(libs.runtime.compose)
implementation(libs.splash.screen)
implementation(libs.compose.activity)
implementation(libs.paging.common.ktx)
implementation(libs.work.runtime.ktx)
2023-01-28 00:00:52 +01:00
// Compose
implementation(platform(libs.compose.bom))
implementation(libs.compose.ui)
implementation(libs.compose.ui.preview)
implementation(libs.compose.livedata)
implementation(libs.compose.material.icons.extended)
implementation(libs.compose.material3)
2023-01-28 00:19:15 +01:00
2023-03-18 11:53:25 +01:00
// Accompanist
implementation(libs.accompanist.drawablepainter)
implementation(libs.accompanist.webview)
2023-03-18 11:53:25 +01:00
2023-07-14 10:54:42 +02:00
// HTML Scraper
implementation(libs.skrapeit.dsl)
implementation(libs.skrapeit.parser)
2023-07-14 10:54:42 +02:00
2023-05-06 12:42:30 +02:00
// Coil (async image loading, network image)
implementation(libs.coil.compose)
implementation(libs.coil.appiconloader)
2023-05-06 12:42:30 +02:00
2023-03-18 11:53:25 +01:00
// KotlinX
implementation(libs.kotlinx.serialization.json)
implementation(libs.kotlinx.collection.immutable)
2023-03-18 11:53:25 +01:00
// Room
implementation(libs.room.runtime)
implementation(libs.room.ktx)
annotationProcessor(libs.room.compiler)
ksp(libs.room.compiler)
2023-03-18 11:53:25 +01:00
// ReVanced
implementation(libs.patcher)
2023-01-28 00:19:15 +01:00
// Signing
implementation(libs.apksign)
implementation(libs.bcpkix.jdk15on)
2023-01-28 00:19:15 +01:00
// Koin
implementation(libs.koin.android)
implementation(libs.koin.compose)
implementation(libs.koin.workmanager)
2023-01-28 00:19:15 +01:00
2023-01-28 00:28:39 +01:00
// Compose Navigation
implementation(libs.reimagined.navigation)
2023-03-18 11:53:25 +01:00
2023-06-29 22:05:43 +02:00
// Licenses
implementation(libs.about.libraries)
2023-06-29 22:05:43 +02:00
2023-03-18 11:53:25 +01:00
// Ktor
implementation(libs.ktor.core)
implementation(libs.ktor.logging)
implementation(libs.ktor.okhttp)
implementation(libs.ktor.content.negotiation)
implementation(libs.ktor.serialization)
2023-05-06 12:42:30 +02:00
// Markdown to HTML
implementation(libs.markdown)
}