Repository navigation
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
168 lines (127 loc) · 5.71 KB
/
Copy pathsettings.gradle.kts
File metadata and controls
168 lines (127 loc) · 5.71 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
@file:Suppress("LocalVariableName")
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
rootProject.name = "arrow"
pluginManagement {
val kotlinRepoUrl: String? = providers.gradleProperty("kotlin_repo_url").orNull
repositories {
gradlePluginPortal()
mavenCentral()
mavenLocal()
kotlinRepoUrl?.also { maven(it) }
google()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
plugins {
id("com.gradle.develocity") version "4.6.1"
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
}
val kotlinRepoUrl: String? = providers.gradleProperty("kotlin_repo_url").orNull
val kotlinVersion: String? = providers.gradleProperty("kotlin_version").orNull
val kspVersion: String? = providers.gradleProperty("ksp_version").orNull
val composeVersion: String? = providers.gradleProperty("compose_version").orNull
dependencyResolutionManagement {
repositories {
mavenCentral()
gradlePluginPortal()
mavenLocal()
kotlinRepoUrl?.also { maven(it) }
google()
}
versionCatalogs {
create("libs") {
if (!kotlinVersion.isNullOrBlank()) {
println("Overriding Kotlin version with $kotlinVersion")
version("kotlin", kotlinVersion)
}
if (!kspVersion.isNullOrBlank()) {
println("Overriding KSP version with $kspVersion")
version("kspVersion", kspVersion)
}
if (!composeVersion.isNullOrBlank()) {
println("Overriding Compose version with $composeVersion")
version("composePlugin", composeVersion)
}
}
}
}
//CORE
include("arrow-annotations")
project(":arrow-annotations").projectDir = file("arrow-libs/core/arrow-annotations")
include("arrow-platform")
project(":arrow-platform").projectDir = file("arrow-libs/core/arrow-platform")
include("arrow-exception-utils")
project(":arrow-exception-utils").projectDir = file("arrow-libs/core/arrow-exception-utils")
include("arrow-core")
project(":arrow-core").projectDir = file("arrow-libs/core/arrow-core")
include("arrow-functions")
project(":arrow-functions").projectDir = file("arrow-libs/core/arrow-functions")
include("arrow-core-high-arity")
project(":arrow-core-high-arity").projectDir = file("arrow-libs/core/arrow-core-high-arity")
include("arrow-atomic")
project(":arrow-atomic").projectDir = file("arrow-libs/core/arrow-atomic")
include("arrow-eval")
project(":arrow-eval").projectDir = file("arrow-libs/core/arrow-eval")
include("arrow-cache4k")
project(":arrow-cache4k").projectDir = file("arrow-libs/core/arrow-cache4k")
include("arrow-autoclose")
project(":arrow-autoclose").projectDir = file("arrow-libs/core/arrow-autoclose")
// FX
include("arrow-fx-coroutines")
project(":arrow-fx-coroutines").projectDir = file("arrow-libs/fx/arrow-fx-coroutines")
include("arrow-fx-stm")
project(":arrow-fx-stm").projectDir = file("arrow-libs/fx/arrow-fx-stm")
include("arrow-collectors")
project(":arrow-collectors").projectDir = file("arrow-libs/fx/arrow-collectors")
include("arrow-resilience")
project(":arrow-resilience").projectDir = file("arrow-libs/resilience/arrow-resilience")
// 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-compose")
project(":arrow-optics-compose").projectDir = file("arrow-libs/optics/arrow-optics-compose")
include("arrow-optics-ksp-plugin")
project(":arrow-optics-ksp-plugin").projectDir = file("arrow-libs/optics/arrow-optics-ksp-plugin")
include("arrow-optics-compiler-plugin")
project(":arrow-optics-compiler-plugin").projectDir = file("arrow-libs/optics/arrow-optics-compiler-plugin")
include("arrow-optics-plugin")
project(":arrow-optics-plugin").projectDir = file("arrow-libs/optics/arrow-optics-plugin")
// SUSPENDAPP
include("suspendapp")
project(":suspendapp").projectDir = file("arrow-libs/suspendapp/suspendapp")
include("suspendapp-ktor")
project(":suspendapp-ktor").projectDir = file("arrow-libs/suspendapp/suspendapp-ktor")
include("suspendapp-test-app")
project(":suspendapp-test-app").projectDir = file("arrow-libs/suspendapp/suspendapp-test-app")
include("suspendapp-test-runner")
project(":suspendapp-test-runner").projectDir = file("arrow-libs/suspendapp/suspendapp-test-runner")
// INTEGRATIONS
include("arrow-core-retrofit")
project(":arrow-core-retrofit").projectDir = file("arrow-libs/integrations/arrow-core-retrofit")
include("arrow-core-jackson")
project(":arrow-core-jackson").projectDir = file("arrow-libs/integrations/arrow-core-jackson")
include("arrow-core-jackson2")
project(":arrow-core-jackson2").projectDir = file("arrow-libs/integrations/arrow-core-jackson2")
include("arrow-core-serialization")
project(":arrow-core-serialization").projectDir = file("arrow-libs/integrations/arrow-core-serialization")
include("arrow-resilience-ktor-client")
project(":arrow-resilience-ktor-client").projectDir = file("arrow-libs/integrations/arrow-resilience-ktor-client")
include("arrow-raise-ktor-server")
project(":arrow-raise-ktor-server").projectDir = file("arrow-libs/integrations/arrow-raise-ktor-server")
include("arrow-raise-ktor-server-resources")
project(":arrow-raise-ktor-server-resources").projectDir = file("arrow-libs/integrations/arrow-raise-ktor-server-resources")
include("arrow-core-result4k")
project(":arrow-core-result4k").projectDir = file("arrow-libs/integrations/arrow-core-result4k")
// STACK
include("arrow-stack")
project(":arrow-stack").projectDir = file("arrow-libs/stack")
include("arrow-version-catalog")
project(":arrow-version-catalog").projectDir = file("arrow-libs/version-catalog")
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
}
}