forked from arrow-kt/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
87 lines (68 loc) · 2.4 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
77
78
79
80
81
82
83
84
85
86
87
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
enableFeaturePreview("VERSION_CATALOGS")
rootProject.name = "arrow"
pluginManagement {
repositories {
gradlePluginPortal()
mavenCentral()
mavenLocal()
}
}
plugins {
id("com.gradle.enterprise") version "3.10.2"
}
dependencyResolutionManagement {
repositories {
mavenCentral()
gradlePluginPortal()
mavenLocal()
}
}
//CORE
include("arrow-annotations")
project(":arrow-annotations").projectDir = file("arrow-libs/core/arrow-annotations")
include("arrow-core")
project(":arrow-core").projectDir = file("arrow-libs/core/arrow-core")
val enableCompatibilityMetadataVariant =
providers.gradleProperty("kotlin.mpp.enableCompatibilityMetadataVariant")
.forUseAtConfigurationTime().orNull?.toBoolean() == true
if (!enableCompatibilityMetadataVariant) {
include("arrow-core-test")
project(":arrow-core-test").projectDir = file("arrow-libs/core/arrow-core-test")
}
include("arrow-continuations")
project(":arrow-continuations").projectDir = file("arrow-libs/core/arrow-continuations")
include("arrow-core-retrofit")
project(":arrow-core-retrofit").projectDir = file("arrow-libs/core/arrow-core-retrofit")
// FX
include("arrow-fx-coroutines")
project(":arrow-fx-coroutines").projectDir = file("arrow-libs/fx/arrow-fx-coroutines")
if (!enableCompatibilityMetadataVariant) {
include("arrow-fx-coroutines-test")
project(":arrow-fx-coroutines-test").projectDir = file("arrow-libs/fx/arrow-fx-coroutines-test")
}
include("arrow-fx-stm")
project(":arrow-fx-stm").projectDir = file("arrow-libs/fx/arrow-fx-stm")
// OPTICS
include("arrow-optics")
project(":arrow-optics").projectDir = file("arrow-libs/optics/arrow-optics")
include("arrow-optics-reflect")
project(":arrow-optics-reflect").projectDir = file("arrow-libs/optics/arrow-optics-reflect")
include("arrow-optics-ksp-plugin")
project(":arrow-optics-ksp-plugin").projectDir = file("arrow-libs/optics/arrow-optics-ksp-plugin")
if (!enableCompatibilityMetadataVariant) {
include("arrow-optics-test")
project(":arrow-optics-test").projectDir = file("arrow-libs/optics/arrow-optics-test")
}
// STACK
include("arrow-stack")
project(":arrow-stack").projectDir = file("arrow-libs/stack")
// SITE
include("arrow-site")
project(":arrow-site").projectDir = file("arrow-site")
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}