diff --git a/build.gradle b/build.gradle
index 785ae44a042222efd8a6119920f3976c2e00ed75..fdda14ecd8f3a2090ce76c63b41b9703cb8aa937 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,12 +1,13 @@
 buildscript {
-    ext.kotlin_version = '1.6.20'
+    ext.kotlin_version = '1.8.0'
+    ext.dagger_version = '2.45'
     repositories {
         mavenCentral()
         google()
     }
 
     dependencies {
-        classpath 'com.android.tools.build:gradle:7.0.4'
+        classpath 'com.android.tools.build:gradle:7.4.2'
         classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
         classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
     }
diff --git a/gradle.properties b/gradle.properties
index 8478b5b92bbb8ab59e193123ada9c159134a5cd7..d202c7761af681a66f9558993abed3b1bfb67d3d 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,6 +1,6 @@
 GROUP=org.briarproject
 POM_ARTIFACT_ID=dont-kill-me-lib
-VERSION_NAME=0.2.5
+VERSION_NAME=0.2.6
 
 POM_NAME=Do not kill me library
 POM_DESCRIPTION=An Android library helping to keep a foreground service with wake-locks running. No other use-cases considered.
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 0a0271406935e2092b9fe6b805c0a5b588d4e7a3..9ff0819bc5252df7fcdd1b2eee444071214bd7cf 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -2,5 +2,5 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
-distributionSha256Sum=13bf8d3cf8eeeb5770d19741a59bde9bd966dd78d17f1bbad787a05ef19d1c2d
\ No newline at end of file
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
+distributionSha256Sum=cb87f222c5585bd46838ad4db78463a5c5f3d336e5e2b98dc7c0c586527351c2
\ No newline at end of file
diff --git a/lib/build.gradle b/lib/build.gradle
index f251370d9874f3cade15cd1a86886a8cb3f9e0ed..1c1f8c8a11c96fac7dc4db674e7c64494f3b1764 100644
--- a/lib/build.gradle
+++ b/lib/build.gradle
@@ -6,11 +6,11 @@ plugins {
 }
 
 android {
-    compileSdkVersion 31
+    compileSdkVersion 33
 
     defaultConfig {
         minSdk 16
-        targetSdk 30
+        targetSdk 33
 
         consumerProguardFiles "consumer-rules.pro"
     }
@@ -42,7 +42,7 @@ dependencies {
     implementation 'org.briarproject:null-safety:0.1'
     implementation 'com.google.code.findbugs:jsr305:3.0.2'
     implementation 'javax.inject:javax.inject:1'
-    implementation "com.google.dagger:dagger:2.43.2"
+    implementation "com.google.dagger:dagger:$dagger_version"
 
     testImplementation 'org.junit.jupiter:junit-jupiter:5.8.2'
 }