GetToken/app/build.gradle

80 lines
2.3 KiB
Groovy
Raw Permalink Normal View History

2022-11-22 08:08:56 +00:00
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
2024-08-08 15:02:18 +00:00
id 'org.jetbrains.kotlin.plugin.serialization'
2022-11-22 08:08:56 +00:00
}
android {
namespace 'hat.holo.token'
2024-08-08 15:02:18 +00:00
compileSdk 34
2022-11-22 08:08:56 +00:00
defaultConfig {
applicationId "hat.holo.token"
minSdk 28
2024-08-08 15:02:18 +00:00
targetSdk 34
2022-11-22 08:08:56 +00:00
versionCode 1
versionName "1.0"
vectorDrawables {
useSupportLibrary true
}
}
2022-11-23 02:03:50 +00:00
signingConfigs {
release {
2022-11-23 02:08:22 +00:00
storeFile file('../.github/signkey.jks')
2022-11-23 02:03:50 +00:00
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
storePassword System.getenv("SIGNING_KEY_PASSWORD")
}
}
2022-11-22 08:08:56 +00:00
buildTypes {
release {
minifyEnabled true
shrinkResources true
2022-11-23 02:03:50 +00:00
signingConfig signingConfigs.release
2022-11-22 08:08:56 +00:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
2024-08-08 15:02:18 +00:00
freeCompilerArgs += [
"-Xcontext-receivers"
]
2022-11-22 08:08:56 +00:00
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion compose_ui_version
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}
dependencies {
2024-08-08 15:02:18 +00:00
implementation "androidx.core:core-ktx:1.13.0"
implementation "androidx.appcompat:appcompat:1.6.1"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.7.0"
implementation "androidx.compose.ui:ui:1.6.6"
implementation "androidx.compose.material:material:1.6.6"
implementation "androidx.activity:activity-compose:1.9.0"
2022-11-22 08:08:56 +00:00
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
2024-08-08 15:02:18 +00:00
implementation "com.google.accompanist:accompanist-systemuicontroller:0.34.0"
implementation "com.squareup.okhttp3:okhttp:5.0.0-alpha.14"
implementation "com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.14"
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1"
2022-11-22 08:08:56 +00:00
compileOnly files("libs/api-82.jar")
}