mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
Updated the testing_release.yml to use the JAVA 17.
* Updated the README file to show that now our project requires the JAVA 17 instead of JAVA 11. * Updated the pre-commit failed message to properly show the error information.
This commit is contained in:
parent
9eebd2b750
commit
3f7d0f7214
4
.github/workflows/testing_release.yml
vendored
4
.github/workflows/testing_release.yml
vendored
@ -15,10 +15,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 17
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
|
|
||||||
- name: Retrieve secrets to files
|
- name: Retrieve secrets to files
|
||||||
|
@ -70,8 +70,8 @@ Studio](https://developer.android.com/studio).
|
|||||||
|
|
||||||
If you prefer to build without Android Studio you must first set up
|
If you prefer to build without Android Studio you must first set up
|
||||||
the Android SDK and then run the command: `./gradlew build ` from the
|
the Android SDK and then run the command: `./gradlew build ` from the
|
||||||
root directory of the project. The project requires `Java 11` to run,
|
root directory of the project. The project requires `Java 17` to run,
|
||||||
Therefore set the `Gradle JDK` to `Java 11`.
|
Therefore set the `Gradle JDK` to `Java 17`.
|
||||||
|
|
||||||
Kiwix Android is a multi-module project, in 99% of scenarios you will
|
Kiwix Android is a multi-module project, in 99% of scenarios you will
|
||||||
want to build the `app` module in the `debug` configuration. If you
|
want to build the `app` module in the `debug` configuration. If you
|
||||||
|
@ -14,8 +14,8 @@ else
|
|||||||
echo 1>&2 "Static analysis found violations and attempted to autofix, please commit these autoformat changes"
|
echo 1>&2 "Static analysis found violations and attempted to autofix, please commit these autoformat changes"
|
||||||
echo "
|
echo "
|
||||||
---------------------------IMPORTANT FOR KIWIX DEVELOPERS----------------------------------------------
|
---------------------------IMPORTANT FOR KIWIX DEVELOPERS----------------------------------------------
|
||||||
If the build failed with '.../.gradle/daemon/8.0/custom/scr/customexample/info.json No File Found' then you do not have JAVA_HOME set to JDK11
|
If the build failed with '.../.gradle/daemon/8.4/custom/scr/customexample/info.json No File Found' then you do not have JAVA_HOME set to JDK17
|
||||||
Please make sure JAVA_HOME is set to JDK11
|
Please make sure JAVA_HOME is set to JDK17
|
||||||
---------------------------IMPORTANT FOR KIWIX DEVELOPERS----------------------------------------------"
|
---------------------------IMPORTANT FOR KIWIX DEVELOPERS----------------------------------------------"
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user