-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.gradle.kts
76 lines (73 loc) · 2.37 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
pluginManagement {
repositories {
google {
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
gradlePluginPortal()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
dependencyResolutionManagement {
// The k2 support for wasm is still exceptionally bad, good thing there's a solution for that, it's just stupid!
// https://youtrack.jetbrains.com/issue/KT-68533/Kotlin-2.0-WasmJs-error-when-using-RepositoriesMode.FAILONPROJECTREPOS
@Suppress("UnstableApiUsage")
repositoriesMode = RepositoriesMode.PREFER_SETTINGS
@Suppress("UnstableApiUsage")
repositories {
mavenCentral {
content {
excludeGroup("com.yarnpkg")
excludeGroup("com.github.webassembly")
excludeGroup("org.nodejs")
}
}
google {
content {
excludeGroup("com.yarnpkg")
excludeGroup("com.github.webassembly")
excludeGroup("org.nodejs")
}
}
exclusiveContent {
forRepository {
ivy("https://nodejs.org/dist/") {
name = "Node Distributions at $url"
patternLayout { artifact("v[revision]/[artifact](-v[revision]-[classifier]).[ext]") }
metadataSources { artifact() }
content { includeModule("org.nodejs", "node") }
}
}
filter { includeGroup("org.nodejs") }
}
exclusiveContent {
forRepository {
ivy("https://github.com/yarnpkg/yarn/releases/download") {
name = "Yarn Distributions at $url"
patternLayout { artifact("v[revision]/[artifact](-v[revision]).[ext]") }
metadataSources { artifact() }
content { includeModule("com.yarnpkg", "yarn") }
}
}
filter { includeGroup("com.yarnpkg") }
}
exclusiveContent {
forRepository {
ivy("https://github.com/WebAssembly/binaryen/releases/download") {
name = "Binaryen Distributions at $url"
patternLayout { artifact("version_[revision]/[module]-version_[revision]-[classifier].[ext]") }
metadataSources { artifact() }
content { includeModule("com.github.webassembly", "binaryen") }
}
}
filter { includeGroup("com.github.webassembly") }
}
}
}
rootProject.name = "Compose-HeatMap"
include(":sample")
include(":library")