forked from mockito/mockito
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
71 lines (64 loc) · 2.04 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
pluginManagement {
repositories {
gradlePluginPortal()
google()
}
}
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}
plugins {
id("com.gradle.develocity") version "3.18.2"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}
include("mockito-core")
// BOM project
include("mockito-bom")
// extensions
include(
"mockito-extensions:mockito-android",
"mockito-extensions:mockito-errorprone",
"mockito-extensions:mockito-junit-jupiter",
"mockito-extensions:mockito-proxy",
"mockito-extensions:mockito-subclass",
)
// integration tests
include(
"mockito-integration-tests:inline-mocks-tests",
"mockito-integration-tests:extensions-tests",
"mockito-integration-tests:groovy-tests",
"mockito-integration-tests:groovy-inline-tests",
"mockito-integration-tests:kotlin-tests",
"mockito-integration-tests:kotlin-release-coroutines-tests",
"mockito-integration-tests:junit-jupiter-extension-tests",
"mockito-integration-tests:junit-jupiter-inline-mock-maker-extension-tests",
"mockito-integration-tests:module-tests",
"mockito-integration-tests:memory-tests",
"mockito-integration-tests:junit-jupiter-parallel-tests",
"mockito-integration-tests:osgi-tests",
"mockito-integration-tests:programmatic-tests",
"mockito-integration-tests:java-21-tests",
)
// https://developer.android.com/studio/command-line/variables#envar
// https://developer.android.com/studio/build#properties-files
if (System.getenv("ANDROID_HOME") != null || File("local.properties").exists()) {
include("mockito-integration-tests:android-tests")
} else {
logger.info("Not including android test project due to missing SDK configuration")
}
rootProject.name = "mockito"
//Posting Build scans to https://scans.gradle.com
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
}
}
buildCache {
local {
isEnabled = !System.getenv().containsKey("CI")
}
}