0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Anki-Android/jitpack.yml
Mike Hardy 213a36419b build: update jitpack JDK used for build to 21
When I bumped the e2e and unit test github runners to 21 I did not
also bump the jitpack build, but I believe it is best to have them
all using the same build toolchain
2024-04-01 09:25:44 +00:00

16 lines
847 B
YAML

# We want control over the SDK used to build since we need newer JDKs
# Use the latest LTS supported by temurin with version format xx.yy.zz-tem (ignore sub-version)
# You may find versions e.g. for JDK21 like so https://adoptium.net/temurin/archive/?version=21
# You may verify that a JDK is installed by looking at the "sdk list java" output from, for example:
# https://jitpack.io/com/github/ankidroid/Anki-Android/v2.18alpha7/build.log (just use a recent tag,
# if it has not built yet you will have to wait for it to build then on refresh the build log should exist)
before_install:
- sdk update
- sdk list java
- sdk install java 21.0.2-tem
- sdk use java 21.0.2-tem
# We can do the absolute minimum to build the API module, no need to build AnkiDroid module
install:
- ./gradlew :api:publishToMavenLocal