Skip to content

Commit

Permalink
build(deps): Back to JDK 21
Browse files Browse the repository at this point in the history
  • Loading branch information
YuKongA committed Jul 30, 2024
1 parent d128add commit 65bf960
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
fetch-depth: 0
submodules: true

- name: Set up JDK 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '22'
java-version: '21'
distribution: 'temurin'
cache: gradle

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ local.properties
/app/canary
/app/debug
signing.properties
/.kotlin
7 changes: 3 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -200,13 +200,12 @@ android {

java {
toolchain {
languageVersion = JavaLanguageVersion.of(22)
languageVersion = JavaLanguageVersion.of(21)
}
}

kotlin {
jvmToolchain(22)
}
kotlin.jvmToolchain(21)

}

dependencies {
Expand Down
14 changes: 5 additions & 9 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,15 @@
-keep class com.sevtinge.hyperceiler.utils.blur.*
-keep class com.sevtinge.hyperceiler.utils.Helpers { boolean isModuleActive; }
-keep class com.sevtinge.hyperceiler.utils.Helpers { int XposedVersion; }
-keep class moralnorm.**{*;}
-keep class moralnorm.**{ *; }
-keep class org.luckypray.dexkit.*
-keep class * extends com.sevtinge.hyperceiler.ui.fragment.base.*
-keep class * extends com.sevtinge.hyperceiler.module.base.BaseHook { <init>(); }
-keep class com.sevtinge.hyperceiler.module.base.dexkit.**{*;}
-keep class com.sevtinge.hyperceiler.module.base.dexkit.**{ *; }
-keep class * extends com.sevtinge.hyperceiler.module.base.BaseModule
-keep class com.sevtinge.hyperceiler.module.base.BaseModule {*;}
#-keep class com.sevtinge.hyperceiler.utils.XposedUtils {
# *;
#}
-keep class com.sevtinge.hyperceiler.utils.api.miuiStringToast.res.** {
*;
}
-keep class com.sevtinge.hyperceiler.module.base.BaseModule { *; }
#-keep class com.sevtinge.hyperceiler.utils.XposedUtils { *; }
-keep class com.sevtinge.hyperceiler.utils.api.miuiStringToast.res.** { *; }

-dontwarn android.app.ActivityTaskManager$RootTaskInfo
-dontwarn miui.app.MiuiFreeFormManager$MiuiFreeFormStackInfo
Expand Down
8 changes: 3 additions & 5 deletions hidden-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

android {
namespace = "com.android.internal"
compileSdk = 34
compileSdk = 35
buildTypes {
release {
isMinifyEnabled = false
Expand All @@ -26,12 +26,10 @@ android {
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(22)
languageVersion = JavaLanguageVersion.of(21)
}
}
kotlin {
jvmToolchain(22)
}
kotlin.jvmToolchain(21)
}

dependencies {
Expand Down
8 changes: 1 addition & 7 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,8 @@ dependencyResolutionManagement {
mavenCentral()
maven("https://api.xposed.info")
maven("https://jitpack.io")

}
}

plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.4.0")
}

rootProject.name = "HyperCeiler"
include(":app")
include(":hidden-api")
include(":app", ":hidden-api")

0 comments on commit 65bf960

Please sign in to comment.