Skip to content

Commit 7124d28

Browse files
Add Pkpass parser
1 parent 7830502 commit 7124d28

File tree

12 files changed

+645
-10
lines changed

12 files changed

+645
-10
lines changed

app/build.gradle.kts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import com.github.spotbugs.snom.SpotBugsTask
44
plugins {
55
id("com.android.application")
66
id("com.github.spotbugs")
7+
id("org.jetbrains.kotlin.android")
78
}
89

910
spotbugs {
@@ -62,8 +63,8 @@ android {
6263
// Flag to enable support for the new language APIs
6364
isCoreLibraryDesugaringEnabled = true
6465

65-
sourceCompatibility = JavaVersion.VERSION_11
66-
targetCompatibility = JavaVersion.VERSION_11
66+
sourceCompatibility = JavaVersion.VERSION_17
67+
targetCompatibility = JavaVersion.VERSION_17
6768
}
6869

6970
sourceSets {
@@ -84,25 +85,27 @@ android {
8485
lint {
8586
lintConfig = file("lint.xml")
8687
}
88+
kotlinOptions {
89+
jvmTarget = "17"
90+
}
8791
}
8892

8993
dependencies {
9094

9195
// AndroidX
9296
implementation("androidx.appcompat:appcompat:1.7.0")
9397
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
98+
implementation("androidx.core:core-ktx:1.13.1")
99+
implementation("androidx.core:core-splashscreen:1.0.1")
94100
implementation("androidx.exifinterface:exifinterface:1.3.7")
95101
implementation("androidx.palette:palette:1.0.0")
96102
implementation("androidx.preference:preference:1.2.1")
97103
implementation("com.google.android.material:material:1.12.0")
98-
implementation("com.github.yalantis:ucrop:2.2.9")
99104
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.2")
100105

101-
// Splash Screen
102-
implementation("androidx.core:core-splashscreen:1.0.1")
103-
104106
// Third-party
105107
implementation("com.journeyapps:zxing-android-embedded:4.3.0@aar")
108+
implementation("com.github.yalantis:ucrop:2.2.9")
106109
implementation("com.google.zxing:core:3.5.3")
107110
implementation("org.apache.commons:commons-csv:1.9.0")
108111
implementation("com.jaredrummler:colorpicker:1.1.0")

app/src/main/java/protect/card_locker/LoyaltyCard.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
import java.math.BigDecimal;
1212
import java.util.Currency;
1313
import java.util.Date;
14-
import java.util.HashMap;
15-
import java.util.Map;
1614
import java.util.Objects;
1715

1816
public class LoyaltyCard implements Parcelable {

0 commit comments

Comments
 (0)