forked from apache/solr
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsettings.gradle
More file actions
99 lines (88 loc) · 3.37 KB
/
Copy pathsettings.gradle
File metadata and controls
99 lines (88 loc) · 3.37 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
/*
* 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.
*/
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
includeBuild("build-tools/build-infra")
}
// The dependency-analysis plugin (build-health) bundles a kotlin-metadata-jvm that can't yet parse
// Kotlin 2.4.0 metadata, so it fails ExplodeJarTask on the :solr:ui (Compose/KMP) module
// ("Provided Metadata instance has version 2.4.0, while maximum supported version is 2.3.0").
// Tracked upstream in autonomousapps/dependency-analysis-gradle-plugin#1661; until that ships,
// force the metadata library to match Solr's Kotlin version so DAGP can analyze the UI module.
buildscript {
configurations.classpath {
resolutionStrategy {
force "org.jetbrains.kotlin:kotlin-metadata-jvm:2.4.0"
}
}
}
plugins {
id 'com.gradle.develocity' version '4.2.2'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '2.4.0'
id 'com.autonomousapps.build-health' version '3.16.0'
id 'org.jetbrains.kotlin.multiplatform' version '2.4.0' apply false
}
apply from: file('gradle/develocity.gradle')
rootProject.name = "solr-root"
includeBuild("build-tools/missing-doclet")
include ":platform"
include "solr:api"
include "solr:solrj"
include "solr:solrj-jetty"
include "solr:solrj-zookeeper"
include "solr:solrj-streaming"
include "solr:core"
include "solr:cross-dc-manager"
include "solr:server"
include "solr:modules:analysis-extras"
include "solr:modules:clustering"
include "solr:modules:cross-dc"
include "solr:modules:cuvs"
include "solr:modules:opentelemetry"
include "solr:modules:extraction"
include "solr:modules:gcs-repository"
include "solr:modules:jwt-auth"
include "solr:modules:langid"
include "solr:modules:language-models"
include "solr:modules:ltr"
include "solr:modules:s3-repository"
include "solr:modules:scripting"
include "solr:modules:sql"
include "solr:webapp"
include "solr:benchmark"
include "solr:test-framework"
include "solr:solr-ref-guide"
include "solr:example"
include "solr:documentation"
include "solr:packaging"
include "solr:distribution"
include "solr:docker"
def disableUiModuleValue = providers.gradleProperty('disableUiModule').orNull
gradle.ext.withUiModule = disableUiModuleValue == null || disableUiModuleValue != 'true'
if (gradle.ext.withUiModule) {
include(":solr:ui")
}
def disableJsClientValue = providers.gradleProperty('disableJsClient').orNull
gradle.ext.withJsClient = disableJsClientValue == null || disableJsClientValue != 'true'
if (gradle.ext.withJsClient) {
include(":solr:webapp:js-client")
}
// Configures development for joint Lucene/ Solr composite build.
apply from: file('gradle/lucene-dev/lucene-dev-repo-composite.gradle')