GetToken/app/build.gradle

75 lines
2.1 KiB
Groovy

plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'hat.holo.token'
compileSdk 33
defaultConfig {
applicationId "hat.holo.token"
minSdk 28
targetSdk 33
versionCode 2
versionName "1.0.1"
vectorDrawables {
useSupportLibrary true
}
}
signingConfigs {
release {
storeFile file('../.github/paigram.jks')
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
storePassword System.getenv("SIGNING_KEY_PASSWORD")
}
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion compose_ui_version
}
packagingOptions {
resources {
excludes += '/META-INF/{AL2.0,LGPL2.1}'
}
}
}
dependencies {
implementation "androidx.core:core-ktx:1.9.0"
implementation "androidx.appcompat:appcompat:1.5.1"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1"
implementation "androidx.compose.ui:ui:1.3.1"
implementation "androidx.compose.material:material:1.3.1"
implementation "androidx.activity:activity-compose:1.6.1"
implementation "androidx.constraintlayout:constraintlayout-compose:1.0.1"
implementation "com.google.accompanist:accompanist-systemuicontroller:0.27.1"
implementation "com.google.code.gson:gson:2.10"
implementation "com.squareup.okhttp3:okhttp:5.0.0-alpha.2"
implementation "com.squareup.okhttp3:logging-interceptor:5.0.0-alpha.2"
compileOnly files("libs/api-82.jar")
}