-
Notifications
You must be signed in to change notification settings - Fork 15k
Expand file tree
/
Copy pathsettings.gradle
More file actions
131 lines (121 loc) · 4.02 KB
/
settings.gradle
File metadata and controls
131 lines (121 loc) · 4.02 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
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// (the "License"); you may not use this file except in compliance with
// the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
plugins {
id 'com.gradle.develocity' version '3.19'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
}
def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
def runNew = ext.find("kafka.test.run.new") == "true"
def runFlaky = ext.find("kafka.test.run.flaky") == "true"
def currentJvm = JavaVersion.current()
develocity {
server = "https://develocity.apache.org"
projectId = "kafka"
buildScan {
uploadInBackground = !isGithubActions
publishing.onlyIf { it.authenticated }
obfuscation {
// This obfuscates the IP addresses of the build machine in the build scan.
// Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
}
if (isGithubActions) {
tag "github"
} else {
tag "local"
}
tag "JDK$currentJvm"
if (runFlaky) {
tag "flaky"
}
if (runNew) {
tag "new"
}
}
}
buildCache {
local {
// This allows the build cache to be used locally or on GitHub Actions.
// Using the cache on GH should be safe since each job is run on a new VM
enabled = true
}
remote(develocity.buildCache) {
enabled = false
}
}
include 'clients',
'clients:clients-integration-tests',
'connect:api',
'connect:basic-auth-extension',
'connect:file',
'connect:json',
'connect:mirror',
'connect:mirror-client',
'connect:runtime',
'connect:test-plugins',
'connect:transforms',
'coordinator-common',
'core',
'examples',
'generator',
'group-coordinator',
'group-coordinator:group-coordinator-api',
'jmh-benchmarks',
'metadata',
'raft',
'server',
'server-common',
'share-coordinator',
'shell',
'storage',
'storage:api',
'streams',
'streams:examples',
'streams:integration-tests',
'streams:streams-scala',
'streams:test-utils',
'streams:upgrade-system-tests-0110',
'streams:upgrade-system-tests-10',
'streams:upgrade-system-tests-11',
'streams:upgrade-system-tests-20',
'streams:upgrade-system-tests-21',
'streams:upgrade-system-tests-22',
'streams:upgrade-system-tests-23',
'streams:upgrade-system-tests-24',
'streams:upgrade-system-tests-25',
'streams:upgrade-system-tests-26',
'streams:upgrade-system-tests-27',
'streams:upgrade-system-tests-28',
'streams:upgrade-system-tests-30',
'streams:upgrade-system-tests-31',
'streams:upgrade-system-tests-32',
'streams:upgrade-system-tests-33',
'streams:upgrade-system-tests-34',
'streams:upgrade-system-tests-35',
'streams:upgrade-system-tests-36',
'streams:upgrade-system-tests-37',
'streams:upgrade-system-tests-38',
'streams:upgrade-system-tests-39',
'streams:upgrade-system-tests-40',
'streams:upgrade-system-tests-41',
'tools',
'tools:tools-api',
'transaction-coordinator',
'trogdor',
'test-common:test-common-internal-api',
'test-common:test-common-util',
'test-common:test-common-runtime'
project(":storage:api").name = "storage-api"
rootProject.name = 'kafka'