build: downgrade to JDK version 11

This commit is contained in:
oSumAtrIX 2023-05-08 01:15:27 +02:00
parent 0a16bc849b
commit 9f8c2aeedf
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4
3 changed files with 10 additions and 8 deletions

View File

@ -26,7 +26,7 @@ jobs:
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '11'
distribution: 'zulu'
cache: gradle
- name: Setup Node.js

View File

@ -34,6 +34,10 @@ dependencies {
testImplementation("org.jetbrains.kotlin:kotlin-test:1.8.20-RC")
}
kotlin {
jvmToolchain(11)
}
tasks {
test {
useJUnitPlatform()

View File

@ -1,17 +1,15 @@
# 💼 Prerequisites
To use the ReVanced CLI, you will need to fulfill certain requirements.
To use ReVanced CLI, you will need to fulfill certain requirements.
## 🤝 Requirements
- [Android Debug Bridge (adb)](https://developer.android.com/studio/command-line/adb), the command-line tool that lets
you communicate with a device (optional).
- A x86/x86_64 host (or a custom AAPT binary for your architecture)
- Zulu OpenJDK 17
- An APK file (e.g. YouTube v17.49.37 or YouTube Music v5.36.51)
- [Android Debug Bridge (adb)](https://developer.android.com/studio/command-line/adb) if you want to deploy the patched APK file on your device
- An ABI other than ARMv7 such as x86 or x86-64 (or a custom AAPT binary that supports ARMv7)
- Java SDK 11 (Azul JDK or OpenJDK)
## ⏭️ Whats next
The next section will show, how to use the [ReVanced CLI](https://github.com/revanced/revanced-cli).
Continue: [🛠️ Using the ReVanced CLI](1_usage.md)
Continue: [🛠️ Using the ReVanced CLI](1_usage.md)