forked from mockk/mockk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
45 lines (36 loc) · 1.01 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
plugins {
id("com.gradle.enterprise") version "3.12.3"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlways()
}
}
rootProject.name = "mockk-root"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
apply(from = "./buildSrc/repositories.settings.gradle.kts")
apply(from = "./buildSrc/android-sdk-detector.settings.gradle.kts")
dependencyResolutionManagement {
@Suppress("UnstableApiUsage")
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
}
include(
":modules:mockk",
":modules:mockk-agent-api",
":modules:mockk-agent",
":modules:mockk-core",
":modules:mockk-dsl",
":test-modules:client-tests",
":test-modules:performance-tests",
":test-modules:logger-tests",
)
val androidSdkDetected: Boolean? by extra
if (androidSdkDetected == true) {
include(
":modules:mockk-agent-android",
":modules:mockk-agent-android-dispatcher",
":modules:mockk-android",
)
}