Skip to content

Commit

Permalink
update dependencies (#252)
Browse files Browse the repository at this point in the history
* update dependencies

* update

* update target API

* update dependencies

* update version
  • Loading branch information
wuan committed Mar 28, 2024
1 parent 05975d3 commit 37e333f
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
24 changes: 12 additions & 12 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ android {

defaultConfig {
applicationId "org.blitzortung.android.app"
minSdkVersion 15
targetSdkVersion 33
versionCode 316
versionName '2.2.2'
minSdkVersion 19
targetSdkVersion 34
versionCode 317
versionName '2.2.3'
multiDexEnabled false
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -59,15 +59,15 @@ android {
namespace 'org.blitzortung.android.app'
}

def dagger_version = '2.48.1'
def dagger_version = '2.51'

dependencies {
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'androidx.media:media:1.6.0'
implementation 'androidx.media:media:1.7.0'
implementation 'androidx.core:core-ktx:1.12.0'
implementation 'androidx.recyclerview:recyclerview:1.3.1'
implementation 'androidx.work:work-runtime-ktx:2.8.1'
implementation 'org.osmdroid:osmdroid-android:6.1.17'
implementation 'androidx.recyclerview:recyclerview:1.3.2'
implementation 'androidx.work:work-runtime-ktx:2.9.0'
implementation 'org.osmdroid:osmdroid-android:6.1.18'

// Dagger2
implementation "com.google.dagger:dagger:$dagger_version"
Expand All @@ -77,9 +77,9 @@ dependencies {
compileOnly 'javax.annotation:jsr250-api:1.0'

testImplementation 'junit:junit:4.13.2'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'io.mockk:mockk:1.13.8'
testImplementation 'org.robolectric:robolectric:4.10.3'
testImplementation 'org.assertj:assertj-core:3.25.3'
testImplementation 'io.mockk:mockk:1.13.10'
testImplementation 'org.robolectric:robolectric:4.11.1'
testImplementation 'androidx.test:core:1.5.0'
androidTestImplementation 'androidx.test:runner:1.5.2'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
Expand Down
5 changes: 3 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC" />

<application
android:name=".BOApplication"
Expand All @@ -30,7 +30,8 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service android:name=".AppService" />
<service android:name=".AppService"
android:foregroundServiceType="dataSync"/>
<activity
android:name=".Preferences"
android:label="@string/preferences" />
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '8.1.2' apply false
id 'com.android.library' version '8.1.2' apply false
id 'org.jetbrains.kotlin.android' version '1.9.10' apply false
id 'com.android.application' version '8.3.1' apply false
id 'com.android.library' version '8.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.9.23' apply false
id "org.sonarqube" version "3.5.0.2730"
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip

0 comments on commit 37e333f

Please sign in to comment.