From 9f8c2aeedf479950abe77a7fe6825eaeb9fa55d3 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Mon, 8 May 2023 01:15:27 +0200 Subject: [PATCH] build: downgrade to JDK version 11 --- .github/workflows/release.yml | 2 +- build.gradle.kts | 4 ++++ docs/0_prerequisites.md | 12 +++++------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b20eb4..2170654 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/build.gradle.kts b/build.gradle.kts index a558972..627e525 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -34,6 +34,10 @@ dependencies { testImplementation("org.jetbrains.kotlin:kotlin-test:1.8.20-RC") } +kotlin { + jvmToolchain(11) +} + tasks { test { useJUnitPlatform() diff --git a/docs/0_prerequisites.md b/docs/0_prerequisites.md index c802b25..353fac2 100644 --- a/docs/0_prerequisites.md +++ b/docs/0_prerequisites.md @@ -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) \ No newline at end of file