File tree Expand file tree Collapse file tree 3 files changed +38
-1
lines changed
Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ subprojects { project ->
123123
124124 // Spotless complains when applied to the folders containing projects
125125 // when they do not have a build.gradle file
126- if (project. name != " jar-infer" && project. name != " library-model" && project. name != " jdk-annotations" ) {
126+ if (project. name != " jar-infer" && project. name != " library-model" && project. name != " jdk-annotations" && project . name != " nullaway-bom " ) {
127127 project. apply plugin : " com.diffplug.spotless"
128128 spotless {
129129 java {
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2017. Uber Technologies
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * 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+
17+ plugins {
18+ id ' java-platform'
19+ id ' com.vanniktech.maven.publish'
20+ }
21+
22+ description = ' NullAway Bill of Materials (BOM)'
23+
24+ dependencies {
25+ constraints {
26+ rootProject. subprojects { subproject ->
27+ var path = subproject. path
28+ if (path == ' :nullaway'
29+ || path == ' :annotations'
30+ || path. contains(' :jar-infer-' )
31+ || path. contains(' :android-jarinfer-models-' )) {
32+ api(subproject)
33+ }
34+ }
35+ }
36+ }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ plugins {
1313
1414include ' :annotations'
1515include ' :nullaway'
16+ include ' :nullaway-bom'
1617include ' :sample-library-model'
1718include ' :sample'
1819include ' :test-java-lib'
You can’t perform that action at this time.
0 commit comments