nextpush-android/app/build.gradle.kts

88 lines
2.6 KiB
Plaintext
Raw Normal View History

2024-11-09 11:47:35 +01:00
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
2024-11-15 15:44:35 +01:00
alias(libs.plugins.compose.compiler)
2024-11-18 13:40:53 +01:00
alias(libs.plugins.ktlint)
2024-11-09 11:47:35 +01:00
}
android {
2024-11-15 15:44:35 +01:00
compileOptions {
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_17
}
2024-11-09 17:50:59 +01:00
compileSdk = 35
2024-11-09 11:47:35 +01:00
defaultConfig {
applicationId = "org.unifiedpush.distributor.nextpush"
minSdk = 24
2024-11-09 17:50:59 +01:00
targetSdk = 35
2024-11-09 11:47:35 +01:00
versionCode = 29
versionName = "1.9.0"
}
2024-11-15 15:44:35 +01:00
buildFeatures {
compose = true
}
2024-11-09 11:47:35 +01:00
buildTypes {
getByName("release") {
resValue("string", "app_name", "NextPush")
isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
getByName("debug") {
resValue("string", "app_name", "NextPush-dbg")
applicationIdSuffix = ".debug"
isDebuggable = true
}
}
namespace = "org.unifiedpush.distributor.nextpush"
}
if (project.hasProperty("sign")) {
android {
signingConfigs {
create("release") {
storeFile = file(System.getenv("RELEASE_STORE_FILE"))
storePassword = System.getenv("RELEASE_STORE_PASSWORD")
keyAlias = System.getenv("RELEASE_KEY_ALIAS")
keyPassword = System.getenv("RELEASE_KEY_PASSWORD")
}
}
buildTypes {
getByName("release") {
signingConfig = signingConfigs.getByName("release")
}
}
}
}
dependencies {
2024-11-18 10:33:48 +01:00
implementation(libs.accompanist.permissions)
2024-11-15 15:44:35 +01:00
implementation(libs.androidx.activity.compose)
2024-11-09 11:47:35 +01:00
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.coordinatorlayout)
2024-11-15 15:44:35 +01:00
implementation(libs.androidx.lifecycle.viewmodel.compose)
2024-11-09 11:47:35 +01:00
implementation(libs.androidx.work.runtime.ktx)
implementation(libs.appcompat)
implementation(libs.kotlin.stdlib)
implementation(libs.material)
implementation(libs.nexctloud.sso)
implementation(libs.okhttp.sse)
implementation(libs.retrofit.adapter.rxjava3)
implementation(libs.retrofit.converter.gson)
implementation(libs.retrofit.retrofit)
implementation(libs.rxjava3.rxandroid)
implementation(libs.rxjava3.rxjava)
2024-11-15 15:44:35 +01:00
implementation(libs.androidx.material3.android)
debugImplementation(libs.androidx.ui.tooling.preview.android)
debugImplementation(libs.androidx.ui.tooling)
2024-11-09 11:47:35 +01:00
}