From b9d1e945c986df19c842ab644fb320b3a9a8eaff Mon Sep 17 00:00:00 2001 From: Tim Perry Date: Wed, 20 Nov 2024 12:09:18 +0100 Subject: [PATCH] Update Android target API and lots of deps Target update required Gradle updated required Kotlin plugin update required Kotlin update required Android Studio update required... --- .github/workflows/ci.yml | 4 +- .gitignore | 2 + .idea/compiler.xml | 2 +- .idea/dynamic.xml | 37 +++++++++++ .idea/gradle.xml | 6 +- .idea/jarRepositories.xml | 5 ++ .idea/kotlinc.xml | 6 ++ .idea/migrations.xml | 10 +++ .idea/misc.xml | 2 +- .idea/other.xml | 6 ++ .idea/runConfigurations.xml | 17 +++++ app/build.gradle | 64 +++++++++++++------ app/src/main/AndroidManifest.xml | 19 ++++-- .../android/ApplicationListActivity.kt | 58 +++++++++-------- .../android/ApplicationListAdapter.kt | 29 +++++---- .../android/HttpToolkitApplication.kt | 9 +-- .../tech/httptoolkit/android/MainActivity.kt | 6 +- .../httptoolkit/android/PortListActivity.kt | 53 ++++++++------- .../httptoolkit/android/PortListAdapter.kt | 22 ++++--- .../tech/httptoolkit/android/ProxyDetails.kt | 3 +- .../tech/httptoolkit/android/ProxySetup.kt | 2 +- .../httptoolkit/android/ProxyVpnRunnable.kt | 2 +- .../httptoolkit/android/ProxyVpnService.kt | 4 +- build.gradle | 8 +-- gradle/wrapper/gradle-wrapper.properties | 6 +- 25 files changed, 258 insertions(+), 124 deletions(-) create mode 100644 .idea/dynamic.xml create mode 100644 .idea/kotlinc.xml create mode 100644 .idea/migrations.xml create mode 100644 .idea/other.xml create mode 100644 .idea/runConfigurations.xml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d49967e..7865712 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,11 +10,11 @@ jobs: - name: Set up JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 21 distribution: adopt-hotspot - name: Setup Android SDK - uses: android-actions/setup-android@v2 + uses: android-actions/setup-android@v3 - name: Build release APK run: ./gradlew assembleRelease diff --git a/.gitignore b/.gitignore index 726f90d..da436dc 100644 --- a/.gitignore +++ b/.gitignore @@ -43,6 +43,8 @@ captures/ .idea/dictionaries .idea/libraries .idea/caches +.idea/deploymentTargetDropDown.xml +.idea/deploymentTargetSelector.xml # Keystore files *.jks diff --git a/.idea/compiler.xml b/.idea/compiler.xml index fb7f4a8..b86273d 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/.idea/dynamic.xml b/.idea/dynamic.xml new file mode 100644 index 0000000..bf7b438 --- /dev/null +++ b/.idea/dynamic.xml @@ -0,0 +1,37 @@ + + + + + + \ No newline at end of file diff --git a/.idea/gradle.xml b/.idea/gradle.xml index c7de50b..6c7c6be 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -5,17 +5,17 @@ diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml index a5f05cd..e34606c 100644 --- a/.idea/jarRepositories.xml +++ b/.idea/jarRepositories.xml @@ -21,5 +21,10 @@