forked from ankidroid/Anki-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjitpack.yml
More file actions
21 lines (19 loc) · 1.2 KB
/
jitpack.yml
File metadata and controls
21 lines (19 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# overview: https://jitpack.io/com/github/ankidroid/Anki-Android/
# build log: https://www.jitpack.io/com/github/ankidroid/Anki-Android/v2.24.0/build.log
# 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
# This may still be required: the JVM to start Gradle must be >= 17, Gradle then downloads
# a standardized toolchain via the types defined in `gradle-daemon-jvm.properties`
# TODO: test a jdk: entry to simplify this block
- sdk install java 21.0.10-jbr
- sdk use java 21.0.10-jbr
# We can do the absolute minimum to build the API module, no need to build AnkiDroid module
install:
- ./gradlew :api:publishToMavenLocal