GoonManager/app/build.gradle.kts

96 lines
3.2 KiB
Text
Raw Normal View History

2021-07-17 00:26:04 +02:00
plugins {
id("com.android.application")
id("kotlin-android")
id("kotlin-parcelize")
2022-08-02 16:33:04 -04:00
kotlin("plugin.serialization") version "1.7.10"
2021-07-17 00:26:04 +02:00
}
android {
2022-08-02 16:28:06 -04:00
namespace = "com.aliucord.manager"
2022-07-04 15:57:57 -04:00
compileSdk = 33
2021-07-17 00:26:04 +02:00
defaultConfig {
minSdk = 24
2022-07-04 15:57:57 -04:00
targetSdk = 33
2021-07-17 00:26:04 +02:00
versionCode = 1
versionName = "0.0.1"
vectorDrawables.useSupportLibrary = true
buildConfigField("String", "TAG", "\"AliucordManager\"")
buildConfigField("String", "SUPPORT_SERVER", "\"EsNDvBaHVU\"")
}
buildTypes {
release {
isMinifyEnabled = true
2022-08-15 00:25:40 -04:00
isShrinkResources = true
2021-07-17 00:26:04 +02:00
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
2022-02-17 18:25:22 -05:00
2021-07-17 00:26:04 +02:00
compileOptions {
2022-02-17 18:25:22 -05:00
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
2021-07-17 00:26:04 +02:00
}
2022-02-17 18:25:22 -05:00
2021-07-17 00:26:04 +02:00
kotlinOptions {
2022-02-17 18:25:22 -05:00
jvmTarget = "11"
2022-05-26 16:13:41 -04:00
freeCompilerArgs = freeCompilerArgs + "-opt-in=kotlin.RequiresOptIn"
2021-07-17 00:26:04 +02:00
}
2022-02-17 18:25:22 -05:00
2022-05-26 16:13:41 -04:00
buildFeatures.compose = true
2022-08-13 18:37:29 -04:00
composeOptions.kotlinCompilerExtensionVersion = "1.3.0"
2022-03-05 15:45:46 -05:00
}
2021-07-17 00:26:04 +02:00
dependencies {
2022-03-13 13:24:50 -04:00
implementation(fileTree("./libs"))
2021-07-17 00:26:04 +02:00
// core dependencies
2022-08-13 18:37:29 -04:00
implementation("androidx.appcompat:appcompat:1.5.0")
2022-07-04 15:57:57 -04:00
implementation("androidx.core:core-ktx:1.8.0")
2022-08-02 16:33:04 -04:00
implementation("androidx.core:core-splashscreen:1.0.0")
implementation("com.android:zipflinger:7.4.0-alpha09")
2022-05-26 16:13:41 -04:00
// implementation("com.github.Aliucord:libzip:1.0.0")
2021-07-17 00:26:04 +02:00
// androidX activity
2022-08-13 18:37:29 -04:00
implementation("androidx.activity:activity-compose:1.6.0-beta01")
2021-07-17 00:26:04 +02:00
// compose dependencies
2022-08-15 00:25:40 -04:00
val composeVersion = "1.3.0-alpha03"
2021-07-17 00:26:04 +02:00
implementation("androidx.compose.ui:ui:${composeVersion}")
2022-03-05 15:45:46 -05:00
implementation("androidx.compose.ui:ui-tooling:${composeVersion}")
2022-05-26 16:13:41 -04:00
implementation("androidx.compose.material:material-icons-extended:${composeVersion}")
2022-08-13 18:37:29 -04:00
implementation("androidx.compose.material3:material3:1.0.0-alpha16")
implementation("androidx.paging:paging-compose:1.0.0-alpha16")
implementation("androidx.lifecycle:lifecycle-viewmodel-compose:2.6.0-alpha01")
2021-07-17 00:26:04 +02:00
// accompanist dependencies
2022-08-15 00:25:40 -04:00
val accompanistVersion = "0.26.1-alpha"
2021-07-17 00:26:04 +02:00
implementation("com.google.accompanist:accompanist-systemuicontroller:${accompanistVersion}")
implementation("com.google.accompanist:accompanist-permissions:${accompanistVersion}")
2022-08-15 00:25:40 -04:00
// Koin
val koinVersion = "3.2.0"
implementation("io.insert-koin:koin-android:$koinVersion")
implementation("io.insert-koin:koin-androidx-compose:$koinVersion")
2021-07-17 00:26:04 +02:00
// other dependencies
2022-07-04 15:57:57 -04:00
implementation("io.coil-kt:coil-compose:2.1.0")
2022-04-10 00:08:23 -04:00
implementation("org.bouncycastle:bcpkix-jdk15on:1.70")
2022-08-13 18:37:29 -04:00
implementation("de.upb.cs.swt:axml:2.1.3") // 2.1.2 is broken btw
implementation("com.android.tools.build:apksig:7.2.2")
2022-07-04 15:57:57 -04:00
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.3")
2022-01-19 00:55:48 +01:00
// taxi
2022-08-13 18:37:29 -04:00
implementation("com.github.X1nto:Taxi:1.1.0")
2022-02-17 18:25:22 -05:00
// ktor
2022-08-15 00:25:40 -04:00
val ktorVersion = "2.1.0"
2022-02-17 18:25:22 -05:00
implementation("io.ktor:ktor-client-core:$ktorVersion")
2022-08-15 00:25:40 -04:00
implementation("io.ktor:ktor-client-cio:$ktorVersion")
2022-04-10 00:08:23 -04:00
implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
2022-03-12 22:30:38 +01:00
}