-
Notifications
You must be signed in to change notification settings - Fork 15
/
settings.gradle.kts
34 lines (29 loc) · 1.03 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
pluginManagement {
includeBuild("build-logic")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
// See https://jmfayard.github.io/refreshVersions
id("de.fayard.refreshVersions") version "0.60.5"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
}
rootProject.name = "compose-data-table"
include(":android", ":desktop", ":ios:framework", ":demo-common", ":data-table", ":data-table-material3")
refreshVersions {
file("build/tmp/refreshVersions").mkdirs()
versionsPropertiesFile = file("build/tmp/refreshVersions/versions.properties")
rejectVersionIf {
candidate.stabilityLevel.isLessStableThan(current.stabilityLevel)
}
}
check(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
"""
Now in Android requires JDK 17+ but it is currently using JDK ${JavaVersion.current()}.
Java Home: [${System.getProperty("java.home")}]
https://developer.android.com/build/jdks#jdk-config-in-studio
""".trimIndent()
}