From 215e9d66bc08157b09da2348028f345f4a5b5d7c Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Mon, 16 Nov 2020 10:30:22 +0300 Subject: [PATCH] Mention compatible Gradle versions in docs --- FEATURES.md | 7 +++++++ gradle-plugins/compose/build.gradle.kts | 1 + 2 files changed, 8 insertions(+) diff --git a/FEATURES.md b/FEATURES.md index a4c1b53014..2978e9150b 100644 --- a/FEATURES.md +++ b/FEATURES.md @@ -18,3 +18,10 @@ Following limitations apply to Milestone 1 (M1) release. * Only macOS 10.15 or later is supported * Only 64-bit Windows is supported * Only JDK 11 or later is supported due to the memory management scheme used in Skia bindings + +[comment]: <> (__SUPPORTED_GRADLE_VERSIONS__) + +### Gradle plugin compatibility + +* M1 works only with Gradle 6.4 and 6.5; +* M2 works only with Gradle 6.4 or later (6.7 is the latest tested version). \ No newline at end of file diff --git a/gradle-plugins/compose/build.gradle.kts b/gradle-plugins/compose/build.gradle.kts index e64c181f11..6e29830224 100644 --- a/gradle-plugins/compose/build.gradle.kts +++ b/gradle-plugins/compose/build.gradle.kts @@ -58,6 +58,7 @@ val jar = tasks.named("jar") { this.duplicatesStrategy = DuplicatesStrategy.INCLUDE } +// __SUPPORTED_GRADLE_VERSIONS__ val minGradleVersionForTests = "6.4" val maxGradleVersionForTests = "6.7" val java14Home: String? = when (JavaVersion.current()) {