kafka

Форк
0
/
settings.gradle 
123 строки · 3.8 Кб
1
// Licensed to the Apache Software Foundation (ASF) under one or more
2
// contributor license agreements.  See the NOTICE file distributed with
3
// this work for additional information regarding copyright ownership.
4
// The ASF licenses this file to You under the Apache License, Version 2.0
5
// (the "License"); you may not use this file except in compliance with
6
// the License.  You may obtain a copy of the License at
7
//
8
//    http://www.apache.org/licenses/LICENSE-2.0
9
//
10
// Unless required by applicable law or agreed to in writing, software
11
// distributed under the License is distributed on an "AS IS" BASIS,
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
// See the License for the specific language governing permissions and
14
// limitations under the License.
15

16
plugins {
17
    id 'com.gradle.develocity' version '3.17.6'
18
    id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.0.2'
19
}
20

21
def isGithubActions = System.getenv('GITHUB_ACTIONS') != null
22
def isJenkins = System.getenv('JENKINS_URL') != null
23
def isCI = isGithubActions || isJenkins
24
def currentJvm = JavaVersion.current()
25

26
develocity {
27
    server = "https://ge.apache.org"
28
    projectId = "kafka"
29
    buildScan {
30
        uploadInBackground = !isCI
31
        publishing.onlyIf { it.authenticated }
32
        obfuscation {
33
            // This obfuscates the IP addresses of the build machine in the build scan.
34
            // Alternatively, the build scan will provide the hostname for troubleshooting host-specific issues.
35
            ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0"} }
36
        }
37
        if (isJenkins) {
38
            tag "jenkins"
39
        } else if (isGithubActions) {
40
            tag "github"
41
        } else {
42
            tag "local"
43
        }
44
        tag "JDK$currentJvm"
45
    }
46
}
47

48
buildCache {
49
    local {
50
        // This allows the build cache to be used locally or on GitHub Actions.
51
        // Using the cache on GH should be safe since each job is run on a new VM
52
        enabled = !isJenkins
53
    }
54

55
    remote(develocity.buildCache) {
56
        enabled = false
57
    }
58
}
59

60
include 'clients',
61
    'connect:api',
62
    'connect:basic-auth-extension',
63
    'connect:file',
64
    'connect:json',
65
    'connect:mirror',
66
    'connect:mirror-client',
67
    'connect:runtime',
68
    'connect:test-plugins',
69
    'connect:transforms',
70
    'coordinator-common',
71
    'core',
72
    'examples',
73
    'generator',
74
    'group-coordinator',
75
    'group-coordinator:group-coordinator-api',
76
    'jmh-benchmarks',
77
    'log4j-appender',
78
    'metadata',
79
    'raft',
80
    'server',
81
    'server-common',
82
    'share',
83
    'share-coordinator',
84
    'shell',
85
    'storage',
86
    'storage:api',
87
    'streams',
88
    'streams:examples',
89
    'streams:streams-scala',
90
    'streams:test-utils',
91
    'streams:upgrade-system-tests-0100',
92
    'streams:upgrade-system-tests-0101',
93
    'streams:upgrade-system-tests-0102',
94
    'streams:upgrade-system-tests-0110',
95
    'streams:upgrade-system-tests-10',
96
    'streams:upgrade-system-tests-11',
97
    'streams:upgrade-system-tests-20',
98
    'streams:upgrade-system-tests-21',
99
    'streams:upgrade-system-tests-22',
100
    'streams:upgrade-system-tests-23',
101
    'streams:upgrade-system-tests-24',
102
    'streams:upgrade-system-tests-25',
103
    'streams:upgrade-system-tests-26',
104
    'streams:upgrade-system-tests-27',
105
    'streams:upgrade-system-tests-28',
106
    'streams:upgrade-system-tests-30',
107
    'streams:upgrade-system-tests-31',
108
    'streams:upgrade-system-tests-32',
109
    'streams:upgrade-system-tests-33',
110
    'streams:upgrade-system-tests-34',
111
    'streams:upgrade-system-tests-35',
112
    'streams:upgrade-system-tests-36',
113
    'streams:upgrade-system-tests-37',
114
    'streams:upgrade-system-tests-38',
115
    'tools',
116
    'tools:tools-api',
117
    'transaction-coordinator',
118
    'trogdor',
119
    'test-common',
120
    'test-common:test-common-api'
121

122
project(":storage:api").name = "storage-api"
123
rootProject.name = 'kafka'
124

125

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.