/
build.gradle.kts
86 lines (71 loc) · 2.85 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
plugins {
id("gradlebuild.distribution.api-java")
}
description = "Implementation of the Maven Publish Plugin that provides the ability to publish build artifacts to Maven repositories."
errorprone {
disabledChecks.addAll(
"DefaultCharset", // 1 occurrences
"EqualsUnsafeCast", // 1 occurrences
"StringCaseLocaleUsage", // 1 occurrences
"UnusedMethod", // 4 occurrences
"UnusedVariable", // 3 occurrences
)
}
dependencies {
api(projects.javaLanguageExtensions)
api(project(":base-services"))
api(project(":core"))
api(project(":core-api"))
api(project(":dependency-management"))
api(project(":file-collections"))
api(project(":logging"))
api(project(":messaging"))
api(project(":model-core"))
api(project(":publish"))
api(project(":resources"))
api(libs.guava)
api(libs.inject)
api(libs.jsr305)
api(libs.maven3Model) {
because("We use the metadata model classes to create POM metadata files for components")
}
api(libs.maven3RepositoryMetadata) {
because("We use the metadata model classes to create repository metadata files")
}
implementation(project(":functional"))
implementation(project(":hashing"))
implementation(project(":logging-api"))
implementation(libs.commonsLang)
implementation(libs.plexusUtils)
implementation(libs.slf4jApi)
testImplementation(project(":native"))
testImplementation(project(":process-services"))
testImplementation(project(":snapshots"))
testImplementation(project(":resources-http"))
testImplementation(libs.xmlunit)
testImplementation(testFixtures(project(":core")))
testImplementation(testFixtures(project(":model-core")))
testImplementation(testFixtures(project(":dependency-management")))
integTestImplementation(project(":enterprise-operations"))
testFixturesApi(project(":base-services")) {
because("Test fixtures export the Action class")
}
testFixturesImplementation(project(":logging"))
testFixturesImplementation(project(":core-api"))
testFixturesImplementation(project(":internal-integ-testing"))
testFixturesImplementation(project(":dependency-management"))
testRuntimeOnly(project(":distributions-core")) {
because("ProjectBuilder tests load services from a Gradle distribution.")
}
integTestDistributionRuntimeOnly(project(":distributions-jvm"))
crossVersionTestDistributionRuntimeOnly(project(":distributions-jvm"))
}
strictCompile {
ignoreDeprecations() // old 'maven' publishing mechanism: types are deprecated
ignoreRawTypes() // old 'maven' publishing mechanism: raw types used in public API
}
packageCycles {
excludePatterns.add("org/gradle/api/publication/maven/internal/**")
excludePatterns.add("org/gradle/api/artifacts/maven/**")
}
integTest.usesJavadocCodeSnippets = true