summaryrefslogtreecommitdiff
path: root/merchant-terminal/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'merchant-terminal/build.gradle')
-rw-r--r--merchant-terminal/build.gradle21
1 files changed, 11 insertions, 10 deletions
diff --git a/merchant-terminal/build.gradle b/merchant-terminal/build.gradle
index 2ec9c4e..68747c2 100644
--- a/merchant-terminal/build.gradle
+++ b/merchant-terminal/build.gradle
@@ -7,17 +7,17 @@ plugins {
android {
namespace 'net.taler.merchantpos'
- compileSdkVersion 33
- //noinspection GradleDependency
- buildToolsVersion "$build_tools_version"
+ compileSdk 34
defaultConfig {
applicationId "net.taler.merchantpos"
minSdkVersion 21
targetSdkVersion 33
- versionCode 5
- versionName "0.2.3"
+ versionCode 6
+ versionName "0.2.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ buildConfigField("String", "BACKEND_API_VERSION", "\"5:0:1\"")
}
buildTypes {
@@ -32,15 +32,16 @@ android {
}
compileOptions {
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
- jvmTarget = "1.8"
+ jvmTarget = "17"
}
buildFeatures {
+ buildConfig = true
viewBinding = true
}
@@ -67,7 +68,7 @@ dependencies {
implementation "com.google.android.material:material:$material_version"
implementation "androidx.constraintlayout:constraintlayout:$constraintlayout_version"
- implementation "androidx.recyclerview:recyclerview:1.3.0"
+ implementation "androidx.recyclerview:recyclerview:1.3.1"
implementation "androidx.recyclerview:recyclerview-selection:1.1.0"
// Navigation
@@ -77,5 +78,5 @@ dependencies {
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
testImplementation 'androidx.test.ext:junit:1.1.5'
- testImplementation 'org.robolectric:robolectric:4.8.2'
+ testImplementation 'org.robolectric:robolectric:4.10.3'
}