2021-07-17 00:26:04 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2021 Juby210
|
|
|
|
|
* Licensed under the Open Software License version 3.0
|
|
|
|
|
*/
|
|
|
|
|
|
2022-03-05 15:45:46 -05:00
|
|
|
val pagingVersion = "3.1.0"
|
2022-02-17 18:25:22 -05:00
|
|
|
val accompanistVersion = "0.23.0"
|
|
|
|
|
val composeVersion = "1.1.0"
|
|
|
|
|
val ktorVersion = "1.6.7"
|
2021-07-17 00:26:04 +02:00
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
|
id("com.android.application")
|
|
|
|
|
id("kotlin-android")
|
2022-03-05 15:45:46 -05:00
|
|
|
id("com.google.devtools.ksp") version "1.6.10-1.0.4"
|
2021-07-17 00:26:04 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
2021-11-10 21:26:12 +01:00
|
|
|
compileSdk = 31
|
2021-07-17 00:26:04 +02:00
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
applicationId = "com.aliucord.manager"
|
|
|
|
|
minSdk = 24
|
2022-02-17 18:25:22 -05:00
|
|
|
targetSdk = 31
|
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
|
|
|
|
|
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"
|
2021-07-17 00:26:04 +02:00
|
|
|
freeCompilerArgs = freeCompilerArgs + "-Xopt-in=kotlin.RequiresOptIn"
|
|
|
|
|
}
|
2022-02-17 18:25:22 -05:00
|
|
|
|
|
|
|
|
buildFeatures.compose = true
|
|
|
|
|
composeOptions.kotlinCompilerExtensionVersion = composeVersion
|
2021-07-17 00:26:04 +02:00
|
|
|
}
|
|
|
|
|
|
2022-03-05 15:45:46 -05:00
|
|
|
kotlin {
|
|
|
|
|
sourceSets {
|
|
|
|
|
debug {
|
|
|
|
|
kotlin.srcDir("build/generated/ksp/debug/kotlin")
|
|
|
|
|
}
|
|
|
|
|
release {
|
|
|
|
|
kotlin.srcDir("build/generated/ksp/release/kotlin")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-07-17 00:26:04 +02:00
|
|
|
dependencies {
|
2022-03-05 15:45:46 -05:00
|
|
|
implementation(fileTree("./libs"))
|
2021-07-17 00:26:04 +02:00
|
|
|
// core dependencies
|
2022-02-17 18:25:22 -05:00
|
|
|
implementation("androidx.appcompat:appcompat:1.4.1")
|
2021-11-10 21:26:12 +01:00
|
|
|
implementation("androidx.core:core-ktx:1.7.0")
|
2022-03-05 15:45:46 -05:00
|
|
|
// implementation("com.github.aliucord:libzip:1.0.1")
|
|
|
|
|
implementation("androidx.core:core-splashscreen:1.0.0-beta01")
|
2021-07-17 00:26:04 +02:00
|
|
|
|
|
|
|
|
// compose dependencies
|
|
|
|
|
implementation("androidx.compose.ui:ui:${composeVersion}")
|
2022-03-05 15:45:46 -05:00
|
|
|
implementation("androidx.compose.ui:ui-tooling:${composeVersion}")
|
2021-07-17 00:26:04 +02:00
|
|
|
implementation("androidx.compose.material:material:${composeVersion}")
|
2022-03-05 15:45:46 -05:00
|
|
|
implementation("androidx.compose.material3:material3:1.0.0-alpha06")
|
|
|
|
|
implementation("androidx.paging:paging-compose:1.0.0-alpha14")
|
2021-07-17 00:26:04 +02:00
|
|
|
|
|
|
|
|
// accompanist dependencies
|
|
|
|
|
implementation("com.google.accompanist:accompanist-systemuicontroller:${accompanistVersion}")
|
|
|
|
|
implementation("com.google.accompanist:accompanist-permissions:${accompanistVersion}")
|
|
|
|
|
|
2022-03-05 15:45:46 -05:00
|
|
|
// compose destinations
|
|
|
|
|
implementation("io.github.raamcosta.compose-destinations:core:1.3.2-beta")
|
|
|
|
|
ksp("io.github.raamcosta.compose-destinations:ksp:1.3.2-beta")
|
|
|
|
|
|
2021-07-17 00:26:04 +02:00
|
|
|
// other dependencies
|
2022-02-17 18:25:22 -05:00
|
|
|
implementation("com.google.code.gson:gson:2.8.9")
|
2022-01-19 00:55:48 +01:00
|
|
|
implementation("io.coil-kt:coil-compose:1.4.0")
|
2022-03-05 15:45:46 -05:00
|
|
|
implementation("org.bouncycastle:bcpkix-jdk15on:1.65")
|
2022-01-19 00:55:48 +01:00
|
|
|
|
2022-02-17 18:25:22 -05:00
|
|
|
// ktor
|
|
|
|
|
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
|
|
|
|
implementation("io.ktor:ktor-client-android:$ktorVersion")
|
2022-02-24 18:07:21 -05:00
|
|
|
implementation("io.ktor:ktor-client-gson:$ktorVersion")
|
2022-02-17 18:25:22 -05:00
|
|
|
}
|