Skip to content

Commit

Permalink
Bump dependencies and API targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
d4rken committed Oct 28, 2023
1 parent ad38702 commit 82e8769
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 19 deletions.
2 changes: 2 additions & 0 deletions app-common/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
android:name="android.permission.BLUETOOTH_SCAN"
android:usesPermissionFlags="neverForLocation" />

<uses-permission android:name="android.permission.FOREGROUND_SERVICE_CONNECTED_DEVICE" />

<application>
<receiver
android:name=".bluetooth.BleScanResultReceiver"
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ android {
dependencies {
implementation(project(":app-common"))

coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.0.3")

addBaseKotlin()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ abstract class PreferenceFragment2

}

override fun onSharedPreferenceChanged(sharedPreferences: SharedPreferences, key: String) {
override fun onSharedPreferenceChanged(sharedPreferences: SharedPreferences, key: String?) {

}

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.0.2")
classpath("com.android.tools.build:gradle:8.1.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.Kotlin.core}")
classpath("com.google.dagger:hilt-android-gradle-plugin:${Versions.Dagger.core}")
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:${Versions.AndroidX.Navigation.core}")
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation("com.android.tools.build:gradle:8.0.2")
implementation("com.android.tools.build:gradle:8.1.2")
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.0")
implementation("com.squareup:javapoet:1.13.0")
}
10 changes: 5 additions & 5 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ fun DependencyHandlerScope.addBaseWorkManager() {
}

fun DependencyHandlerScope.addBaseAndroid() {
implementation("androidx.core:core-ktx:1.10.0-rc01")
implementation("androidx.annotation:annotation:1.4.0")
implementation("androidx.core:core-ktx:1.12.0")
implementation("androidx.annotation:annotation:1.7.0")
implementation("androidx.collection:collection-ktx:1.2.0")
implementation("androidx.preference:preference-ktx:1.2.0")
}
Expand All @@ -95,12 +95,12 @@ fun DependencyHandlerScope.addBaseAndroidUi() {
implementation("androidx.constraintlayout:constraintlayout:2.1.3")
implementation("androidx.fragment:fragment-ktx:1.4.1")

implementation("androidx.activity:activity-ktx:1.6.0-rc01")
implementation("androidx.fragment:fragment-ktx:1.5.0")
implementation("androidx.activity:activity-ktx:1.8.0")
implementation("androidx.fragment:fragment-ktx:1.6.1")

implementation("com.google.android.material:material:1.5.0-rc01")

val lifecycleVers = "2.5.0"
val lifecycleVers = "2.6.2"
implementation("androidx.lifecycle:lifecycle-extensions:2.2.0")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVers")
implementation("androidx.lifecycle:lifecycle-viewmodel-savedstate:$lifecycleVers")
Expand Down
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/ProjectConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ object ProjectConfig {
const val packageName = "eu.darken.capod"

const val minSdk = 26
const val compileSdk = 33
const val targetSdk = 33
const val compileSdk = 34
const val targetSdk = 34

object Version {
val versionProperties = Properties().apply {
Expand Down
12 changes: 4 additions & 8 deletions buildSrc/src/main/java/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
object Versions {
object Gradle {
const val buildTools = "7.1.2"
}

object Kotlin {
const val core = "1.8.0"
const val coroutines = "1.6.2"
const val core = "1.9.10"
const val coroutines = "1.7.3"
}

object Dokka {
const val core = "1.6.21"
}

object Dagger {
const val core = "2.45"
const val core = "2.48.1"
}

object Moshi {
Expand All @@ -24,7 +20,7 @@ object Versions {
const val core = ""

object Navigation {
const val core = "2.5.0"
const val core = "2.7.3"
}

object Testing {
Expand Down

0 comments on commit 82e8769

Please sign in to comment.