Files
libredeck-android/app/build.gradle
2026-05-03 21:53:03 +02:00

59 lines
1.6 KiB
Groovy

plugins {
id 'com.android.application'
}
android {
namespace 'de.libredeck.android'
compileSdk 34
defaultConfig {
applicationId "de.libredeck.android"
minSdk 26
targetSdk 34
versionCode 1
versionName "0.1.0"
buildConfigField "String", "BACKEND_URL", "\"${LIBREDECK_BACKEND_URL ?: 'http://10.0.2.2:8080'}\""
}
buildTypes {
release {
minifyEnabled false
}
}
buildFeatures {
buildConfig true
viewBinding true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}
dependencies {
// UI
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'com.google.android.material:material:1.12.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
// Camera + QR scanning
implementation 'androidx.camera:camera-core:1.3.3'
implementation 'androidx.camera:camera-camera2:1.3.3'
implementation 'androidx.camera:camera-lifecycle:1.3.3'
implementation 'androidx.camera:camera-view:1.3.3'
implementation 'com.google.mlkit:barcode-scanning:17.2.0'
implementation 'com.google.guava:guava:32.1.3-android'
// HTTP + JSON
implementation 'com.squareup.okhttp3:okhttp:4.12.0'
implementation 'com.google.code.gson:gson:2.10.1'
// Image loading
implementation 'com.github.bumptech.glide:glide:4.16.0'
}