-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle.kts
36 lines (34 loc) · 1010 Bytes
/
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
35
36
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/nphausg/loomIn")
}
}
}
rootProject.name = "loomin"
// enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
include(":app")
include(":loom")
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()
}