Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ You are welcome to use whatever tools you prefer for making a contribution. Howe

# Requirements

The project requires you to run JDK 21 or newer. Compilation and tests always happen on JDK 21
through a [toolchain](https://docs.gradle.org/current/userguide/toolchains.html), so a newer JDK
runs the build but never changes its output.
The project requires JDK 21. Gradle finds it through
[toolchain auto-detection](https://docs.gradle.org/current/userguide/toolchains.html#sec:auto_detection)
(SDKMAN!, asdf, IntelliJ, ...) and uses it for the build, compilation and tests, whatever JDK
`JAVA_HOME` points to.

## Android

Expand Down
4 changes: 0 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ plugins {
alias(libs.plugins.sentry) apply false
}

check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_21)) {
"This build requires JDK 21 or newer, but runs on JDK ${JavaVersion.current()}."
}

buildscript {
repositories {
google()
Expand Down
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Daemons heap size
org.gradle.jvmargs=-Xmx8g -XX:MaxMetaspaceSize=2g -XX:+CrashOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC
org.gradle.jvmargs=-Xmx8g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.parallel=true
org.gradle.welcome=never

org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled

Expand All @@ -15,6 +16,8 @@ android.builtInKotlin=false
android.newDsl=false
android.experimental.lint.version=9.4.0

android.disableAgpUpgradePrompt=true

# Release information
versionName=8.61.1

Expand Down
1 change: 1 addition & 0 deletions gradle/gradle-daemon-jvm.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
toolchainVersion=21
Loading