2023-01-28 00:00:52 +01:00
|
|
|
plugins {
|
|
|
|
id("com.android.application")
|
|
|
|
id("org.jetbrains.kotlin.android")
|
2023-01-28 00:28:39 +01:00
|
|
|
id("kotlin-parcelize")
|
2023-04-23 14:36:52 +02:00
|
|
|
kotlin("plugin.serialization") version "1.8.20"
|
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.compose"
|
|
|
|
compileSdk = 33
|
2023-04-23 14:36:52 +02:00
|
|
|
buildToolsVersion = "33.0.2"
|
2023-01-28 00:00:52 +01:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId = "app.revanced.manager.compose"
|
|
|
|
minSdk = 26
|
|
|
|
targetSdk = 33
|
|
|
|
versionCode = 1
|
|
|
|
versionName = "0.0.1"
|
|
|
|
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
isMinifyEnabled = false
|
|
|
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "11"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildFeatures.compose = true
|
|
|
|
|
2023-04-23 14:36:52 +02:00
|
|
|
composeOptions.kotlinCompilerExtensionVersion = "1.4.6"
|
2023-01-28 00:00:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
// AndroidX Core
|
2023-04-23 14:36:52 +02:00
|
|
|
implementation("androidx.core:core-ktx:1.10.0")
|
|
|
|
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")
|
|
|
|
implementation("androidx.core:core-splashscreen:1.0.1")
|
|
|
|
implementation("androidx.activity:activity-compose:1.7.1")
|
2023-01-28 00:00:52 +01:00
|
|
|
|
|
|
|
// Compose
|
2023-04-23 14:36:52 +02:00
|
|
|
implementation(platform("androidx.compose:compose-bom:2023.04.00"))
|
|
|
|
implementation("androidx.compose.ui:ui")
|
|
|
|
implementation("androidx.compose.ui:ui-tooling-preview")
|
2023-01-28 00:19:15 +01:00
|
|
|
|
2023-03-18 11:53:25 +01:00
|
|
|
// Accompanist
|
2023-04-23 14:36:52 +02:00
|
|
|
val accompanistVersion = "0.30.1"
|
2023-03-18 11:53:25 +01:00
|
|
|
implementation("com.google.accompanist:accompanist-systemuicontroller:$accompanistVersion")
|
|
|
|
//implementation("com.google.accompanist:accompanist-placeholder-material:$accompanistVersion")
|
|
|
|
implementation("com.google.accompanist:accompanist-drawablepainter:$accompanistVersion")
|
|
|
|
//implementation("com.google.accompanist:accompanist-flowlayout:$accompanistVersion")
|
|
|
|
//implementation("com.google.accompanist:accompanist-permissions:$accompanistVersion")
|
|
|
|
|
|
|
|
// KotlinX
|
2023-04-23 14:36:52 +02:00
|
|
|
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0")
|
2023-03-18 11:53:25 +01:00
|
|
|
|
2023-01-28 00:00:52 +01:00
|
|
|
// Material 3
|
2023-04-23 14:36:52 +02:00
|
|
|
implementation("androidx.compose.material3:material3")
|
2023-03-18 11:53:25 +01:00
|
|
|
|
|
|
|
|
|
|
|
// ReVanced
|
|
|
|
implementation("app.revanced:revanced-patcher:6.4.3")
|
2023-01-28 00:19:15 +01:00
|
|
|
|
|
|
|
// Koin
|
2023-04-23 14:36:52 +02:00
|
|
|
implementation("io.insert-koin:koin-android:3.4.0")
|
|
|
|
implementation("io.insert-koin:koin-androidx-compose:3.4.4")
|
2023-01-28 00:19:15 +01:00
|
|
|
|
2023-01-28 00:28:39 +01:00
|
|
|
// Compose Navigation
|
2023-04-23 14:36:52 +02:00
|
|
|
implementation("dev.olshevski.navigation:reimagined:1.4.0")
|
2023-03-18 11:53:25 +01:00
|
|
|
|
|
|
|
// Ktor
|
2023-04-23 14:36:52 +02:00
|
|
|
val ktorVersion = "2.3.0"
|
2023-03-18 11:53:25 +01:00
|
|
|
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-client-logging:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-client-okhttp:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
|
|
|
|
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
2023-04-23 14:36:52 +02:00
|
|
|
}
|