Skip to content

Commit

Permalink
Update versions and enable Android V build
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabe authored and czdawid committed Sep 10, 2024
1 parent 95c2150 commit 455f9c0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
15 changes: 9 additions & 6 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
[versions]
android-gradle-plugin = "8.3.2"
androidx-annotation = "1.8.0"
android-gradle-plugin = "8.5.1"
androidx-activity = "1.9.1"
androidx-annotation = "1.8.1"
androidx-appcompat = "1.7.0"
android-view-material = "1.12.0"
androidx-core-ktx = "1.13.1"
androidx-fragment-ktx = "1.8.1"
androidx-fragment-ktx = "1.8.2"
androidx-preference-ktx = "1.2.1"
androidx-webkit = "1.11.0"
androidx-lifecycle-viewmodel-ktx = "2.8.3"
androidx-lifecycle-runtime-ktx = "2.8.3"
androidx-lifecycle-viewmodel-ktx = "2.8.4"
androidx-lifecycle-runtime-ktx = "2.8.4"
androidx-security-crypto = "1.1.0-alpha06"
androidx-constraintlayout = "2.1.4"
androidx-cardview = "1.0.0"
androidx-recyclerview = "1.3.2"
androidx-viewpager2 = "1.1.0"
bouncycastle = "1.69"
mpandroidchart = "v3.1.0"
kotlin = "1.9.20"
kotlin = "1.9.22"
square-okhttp = "4.10.0"

# Test
Expand All @@ -28,6 +29,8 @@ robolectric = "4.10.2"
[libraries]
android-view-material = { group = "com.google.android.material", name = "material", version.ref = "android-view-material" }
androidx-annotation = { group = "androidx.annotation", name = "annotation", version.ref = "androidx-annotation" }
androidx-activity = { group = "androidx.activity", name = "activity", version.ref = "androidx-activity"}
androidx-activity-ktx = { group = "androidx.activity", name = "activity-ktx", version.ref = "androidx-activity"}
androidx-appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "androidx-appcompat" }
androidx-cardview = { group = "androidx.cardview", name = "cardview", version.ref = "androidx-cardview" }
androidx-viewpager2 = { group = "androidx.viewpager2", name = "viewpager2", version.ref= "androidx-viewpager2" }
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Oct 10 12:31:57 CEST 2022
#Tue Jul 23 16:10:00 CEST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-all.zip
6 changes: 4 additions & 2 deletions main/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ android {
aidl = true
}
namespace = "de.blinkt.openvpn"
compileSdk = 34
compileSdk = 35
//compileSdkPreview = "UpsideDownCake"

// Also update runcoverity.sh
ndkVersion = "26.1.10909125"
ndkVersion = "26.3.11579264"

defaultConfig {
minSdk = 21
Expand Down Expand Up @@ -270,6 +270,8 @@ dependencies {
implementation(libs.androidx.core.ktx)

uiImplementation(libs.android.view.material)
uiImplementation(libs.androidx.activity)
uiImplementation(libs.androidx.activity.ktx)
uiImplementation(libs.androidx.appcompat)
uiImplementation(libs.androidx.cardview)
uiImplementation(libs.androidx.viewpager2)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class InternalWebView : AppCompatActivity() {

}

override fun onNewIntent(intent: Intent?) {
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)

}
Expand Down

0 comments on commit 455f9c0

Please sign in to comment.