/
build.gradle.kts
99 lines (82 loc) · 3.28 KB
/
build.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
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
/*
* Copyright 2023 the original author or authors.
*
* Licensed 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("gradlebuild.distribution.api-java")
}
description = "Plugins that add support for generating IDE project files used for importing Gradle projects into IDEs"
errorprone {
disabledChecks.addAll(
"MixedMutabilityReturnType", // 2 occurrences
)
}
dependencies {
api(projects.javaLanguageExtensions)
api(project(":base-ide-plugins"))
api(project(":base-services"))
api(project(":core"))
api(project(":core-api"))
api(project(":ide"))
api(project(":platform-jvm"))
api(project(":tooling-api"))
api(libs.groovy)
api(libs.guava)
api(libs.inject)
api(libs.jsr305)
implementation(project(":dependency-management"))
implementation(project(":ear"))
implementation(project(":file-collections"))
implementation(project(":language-java"))
implementation(project(":model-core"))
implementation(project(":plugins-groovy"))
implementation(project(":plugins-java"))
implementation(project(":plugins-java-base"))
implementation(project(":plugins-jvm-test-fixtures"))
implementation(project(":plugins-jvm-test-suite"))
implementation(project(":scala"))
implementation(project(":test-suites-base"))
implementation(project(":war"))
implementation(libs.commonsLang)
runtimeOnly(project(":language-jvm"))
runtimeOnly(project(":testing-base"))
testImplementation(testFixtures(project(":core")))
testImplementation(testFixtures(project(":dependency-management")))
testImplementation(testFixtures(project(":ide")))
testImplementation(testFixtures(project(":tooling-api")))
testRuntimeOnly(project(":distributions-jvm")) {
because("ProjectBuilder tests load services from a Gradle distribution.")
}
testImplementation(libs.xmlunit)
integTestImplementation(project(":internal-integ-testing"))
integTestDistributionRuntimeOnly(project(":distributions-jvm")) {
because("ProjectBuilder tests load services from a Gradle distribution.")
}
crossVersionTestDistributionRuntimeOnly(project(":distributions-jvm"))
}
packageCycles {
excludePatterns.add("org/gradle/plugins/ide/idea/**")
}
/*
* This is needed to avoid CI failures like this:
*
* Failed to stop service 'testFilesCleanupBuildService'.
> Found non-empty test files dir:
/home/tcagent1/agent/work/f63322e10dd6b396/platforms/ide/ide-plugins/build/tmp/teŝt files/EclipseInte.Test:
canHandleCi.cies/xinjd/build/reports/configuration-cache/f5dmqyt5fw1qx1u5ylf7c1p2p/f1jute3awhw927kq95bbyi89k/configuration-cache-report.html
canHandleCi.cies/xinjd/.project
canHandleCi.cies/xinjd/settings.gradle
canHandleCi.cies/xinjd/.classpath
*/
testFilesCleanup.reportOnly = true