-
Notifications
You must be signed in to change notification settings - Fork 14k
/
settings.gradle
124 lines (116 loc) · 3.85 KB
/
settings.gradle
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
// 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.17.6'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
}
def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
def isJenkins = System.getenv('JENKINS_URL') != null
def isCI = isGithubActions || isJenkins
def currentJvm = JavaVersion.current()
develocity {
server = "https://ge.apache.org"
projectId = "kafka"
buildScan {
uploadInBackground = !isCI
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 (isJenkins) {
tag "jenkins"
} else if (isGithubActions) {
tag "github"
} else {
tag "local"
}
tag "JDK$currentJvm"
}
}
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 = !isJenkins
}
remote(develocity.buildCache) {
enabled = false
}
}
include 'clients',
'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',
'share-coordinator',
'shell',
'storage',
'storage:api',
'streams',
'streams:examples',
'streams:integration-tests',
'streams:streams-scala',
'streams:test-utils',
'streams:upgrade-system-tests-0100',
'streams:upgrade-system-tests-0101',
'streams:upgrade-system-tests-0102',
'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',
'tools',
'tools:tools-api',
'transaction-coordinator',
'trogdor',
'test-common',
'test-common:test-common-api'
project(":storage:api").name = "storage-api"
rootProject.name = 'kafka'