-
Notifications
You must be signed in to change notification settings - Fork 6
/
settings.gradle.kts
64 lines (54 loc) · 2.07 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
rootProject.name = "snakeyaml-engine-kmp"
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
@Suppress("UnstableApiUsage")
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
mavenCentral()
// Declare the Node.js & Yarn download repositories
// https://youtrack.jetbrains.com/issue/KT-55620/
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") }
}
ivy("https://github.com/") {
name = "GitHub Release"
// used to download YAML Test Suite data from GitHub
patternLayout {
artifact("[organization]/[module]/archive/[revision].[ext]")
artifact("[organization]/[module]/archive/refs/tags/[revision].[ext]")
artifact("[organization]/[module]/archive/refs/tags/v[revision].[ext]")
}
metadataSources { artifact() }
}
}
}
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version("0.9.0")
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
include(":snake-kmp-benchmarks")