Files
plees-tracker/app/build.gradle
2025-08-03 22:01:03 +02:00

90 lines
3.1 KiB
Groovy

plugins {
id 'com.google.devtools.ksp'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
android {
kotlinOptions {
kotlinOptions.allWarningsAsErrors = true
}
compileSdk 35
defaultConfig {
applicationId "hu.vmiklos.plees_tracker"
minSdkVersion 24
targetSdkVersion 35
versionCode 63
versionName "25.8"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
arguments = ["room.incremental": "true"]
}
}
}
signingConfigs {
release {
storeFile = file("keystore/plees_keystore.jks")
storePassword System.getenv("SIGNING_STORE_PASSWORD")
keyAlias System.getenv("SIGNING_KEY_ALIAS")
keyPassword System.getenv("SIGNING_KEY_PASSWORD")
}
}
buildTypes {
debug {
applicationIdSuffix = ".debug"
}
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
if (file("keystore/plees_keystore.jks").exists()) {
signingConfig signingConfigs.release
}
}
}
buildFeatures {
viewBinding true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21
}
lint {
disable 'MissingTranslation'
}
namespace 'hu.vmiklos.plees_tracker'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.7.1'
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
implementation 'androidx.documentfile:documentfile:1.1.0'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test:core:1.6.1'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.6.1'
androidTestImplementation 'androidx.test.espresso:espresso-intents:3.6.1'
androidTestImplementation "androidx.test.uiautomator:uiautomator:2.3.0"
def room_version = "2.7.2"
implementation "androidx.room:room-runtime:$room_version"
ksp "androidx.room:room-compiler:$room_version"
implementation "androidx.room:room-ktx:$room_version"
implementation 'javax.annotation:jsr250-api:1.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.core:core-ktx:1.16.0'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.9.1"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
implementation "com.mikepenz:aboutlibraries:7.1.0"
implementation 'androidx.preference:preference-ktx:1.2.1'
implementation "androidx.activity:activity-ktx:1.10.1"
implementation "androidx.fragment:fragment-ktx:1.8.8"
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
implementation 'org.apache.commons:commons-csv:1.14.0'
}
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}