diff --git a/app/build.gradle b/app/build.gradle
index 2cc9e8a..7112a0d 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -3,24 +3,23 @@ plugins {
id 'kotlin-android'
}
+kotlin {
+ jvmToolchain(17)
+}
+
android {
- compileSdk 33
+ compileSdk 34
defaultConfig {
applicationId "org.unifiedpush.distributor.nextpush"
minSdk 24
- targetSdk 33
+ targetSdk 34
versionCode 28
versionName "1.8.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- }
-
buildTypes {
release {
resValue "string", "app_name", "NextPush"
@@ -59,15 +58,15 @@ ext {
dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
implementation("androidx.appcompat:appcompat:1.6.1")
- implementation("com.google.android.material:material:1.9.0")
+ implementation('com.google.android.material:material:1.11.0')
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.coordinatorlayout:coordinatorlayout:1.2.0")
- implementation("com.squareup.okhttp3:okhttp-sse:4.11.0")
+ implementation('com.squareup.okhttp3:okhttp-sse:4.12.0')
implementation("com.github.nextcloud:Android-SingleSignOn:0.8.1")
implementation("com.squareup.retrofit2:retrofit:$retrofitVersion")
implementation("com.squareup.retrofit2:converter-gson:$retrofitVersion")
implementation("com.squareup.retrofit2:adapter-rxjava3:$retrofitVersion")
- implementation('io.reactivex.rxjava3:rxjava:3.1.7')
+ implementation('io.reactivex.rxjava3:rxjava:3.1.8')
implementation("io.reactivex.rxjava3:rxandroid:3.0.2")
- implementation("androidx.work:work-runtime-ktx:2.8.1")
+ implementation('androidx.work:work-runtime-ktx:2.9.0')
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 7455b50..67a2e8c 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -4,6 +4,7 @@
+
@@ -40,7 +41,11 @@
+ android:enabled="true"
+ android:foregroundServiceType="specialUse">
+
+