Skip to content

Commit

Permalink
Fix small bugs
Browse files Browse the repository at this point in the history
- Fix version mismatch between Java target and Kotlin target
- Add missing permission
  • Loading branch information
udenr committed Dec 9, 2024
1 parent 7fd7ad1 commit 5c50c86
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ android {
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}

kotlin {
jvmToolchain {17}
}

testOptions {
unitTests {
returnDefaultValues = true
Expand Down Expand Up @@ -57,6 +65,7 @@ android {
}
lint {
lintConfig = file("lint.xml")
abortOnError false
}
namespace 'privacyfriendlyshoppinglist.secuso.org.privacyfriendlyshoppinglist'
}
Expand Down
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>

<supports-screens
Expand Down

0 comments on commit 5c50c86

Please sign in to comment.