Skip to content

Commit 711ead5

Browse files
authored
Merge pull request #487 from gradle/sorin/consolidation
Move build summary extraction logic out
2 parents 95b7aa9 + 8443143 commit 711ead5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+462
-4156
lines changed

Diff for: Gradle.md

-16
Original file line numberDiff line numberDiff line change
@@ -159,22 +159,6 @@ Develocity server at develocity.example.io.
159159
./02-validate-local-build-caching-same-location.sh -i -e -s https://develocity.example.io
160160
```
161161

162-
## Running the experiments without publishing Build Scan data
163-
164-
The scripts that run all builds locally can be configured to not publish any Build Scan data and instead extract the required data
165-
right during the build to surface the state of work avoidance by passing the `-x` or `--disable-build-scan-publishing` command
166-
line argument.
167-
168-
The use of this option requires at least Java 17 to analyze the build data. The JVM version to analyze the build data is
169-
[configurable](#specifying-the-jvm-used-to-analyze-the-build-data). You can still run the builds of the experiments with a JVM
170-
version lower than Java 17.
171-
172-
The use of this configuration option also requires a license file from Gradle Inc. to be present in the root directory of the scripts.
173-
174-
```bash
175-
./02-validate-local-build-caching-same-location.sh -i -x
176-
```
177-
178162
## Specifying the JVM used to analyze the build data
179163

180164
The scripts use a Java-based utility to fetch and analyze the captured build data.

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,4 @@
198198
distributed under the License is distributed on an "AS IS" BASIS,
199199
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200200
See the License for the specific language governing permissions and
201-
limitations under the License.
201+
limitations under the License.

Diff for: Maven.md

-16
Original file line numberDiff line numberDiff line change
@@ -157,22 +157,6 @@ Develocity server at develocity.example.io.
157157
./01-validate-local-build-caching-same-location.sh -i -e -s https://develocity.example.io
158158
```
159159

160-
## Running the experiments without publishing Build Scan data
161-
162-
The scripts that run all builds locally can be configured to not publish any Build Scan data and instead extract the required data
163-
right during the build to surface the state of work avoidance by passing the `-x` or `--disable-build-scan-publishing` command
164-
line argument.
165-
166-
The use of this option requires at least Java 17 to analyze the build data. The JVM version to analyze the build data is
167-
[configurable](#specifying-the-jvm-used-to-analyze-the-build-data). You can still run the builds of the experiments with a JVM
168-
version lower than Java 17.
169-
170-
The use of this configuration option also requires a license file from Gradle Inc. to be present in the root directory of the scripts.
171-
172-
```bash
173-
./01-validate-local-build-caching-same-location.sh -i -x
174-
```
175-
176160
## Specifying the JVM used to analyze the build data
177161

178162
The scripts use a Java-based utility to fetch and analyze the captured build data.

Diff for: NOTICE

+230
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
The following copyright statements and licenses apply to various third party open
2+
source software packages (or portions thereof) that are distributed with
3+
this content in the folder titled "lib/third-party".
4+
5+
TABLE OF CONTENTS
6+
=================
7+
8+
The following is a listing of the open source components detailed in this
9+
document. This list is provided for your convenience; please read further if
10+
you wish to review the copyright notice(s) and the full text of the license
11+
associated with each component.
12+
13+
14+
**SECTION 1: Apache License, V2.0**
15+
* Google Guava
16+
* `com.google.guava:guava`
17+
* Google Gson
18+
* `com.google.code.gson:gson`
19+
* Gradle Develocity Plugin/Extension Adapters
20+
* `com.gradle:develocity-maven-extension-adapters`
21+
* Gradle Common Custom User Data Maven Extension
22+
* `com.gradle:common-custom-user-data-maven-extension`
23+
* Gson on Fire
24+
* `io.gsonfire:gson-fire`
25+
* Picocli
26+
* `info.picocli:picocli`
27+
* Square OkHttp
28+
* `com.squareup.okhttp3:okhttp`
29+
* `com.squareup.okhttp3:logging-interceptor`
30+
* `com.squareup.okhttp3:okhttp-tls`
31+
* Swagger Core - Annotations
32+
* `io.swagger:swagger-annotations`
33+
34+
**SECTION 2: Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2 with Classpath Exception**
35+
* JAX-RS
36+
* `javax.ws.rs:javax.ws.rs-api`
37+
* `javax.ws.rs:jsr311-api`
38+
* Javax Annotations
39+
* `javax.annotation:javax.annotation-api`
40+
41+
**SECTION 3: New BSD License**
42+
* Findbugs JSR 305
43+
* `com.google.code.findbugs:jsr305`
44+
45+
**SECTION 4: Gradle License**
46+
* Build Scan Summary
47+
* `com.gradle:build-scan-summary`
48+
49+
SECTION 1: Apache License, V2.0
50+
================================
51+
52+
Google Guava
53+
------------
54+
Copyright 2024 Google, Inc.
55+
56+
Licensed under the Apache License, Version 2.0 (the "License");
57+
you may not use this file except in compliance with the License.
58+
You may obtain a copy of the License at
59+
60+
http://www.apache.org/licenses/LICENSE-2.0
61+
62+
Unless required by applicable law or agreed to in writing, software
63+
distributed under the License is distributed on an "AS IS" BASIS,
64+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
65+
See the License for the specific language governing permissions and
66+
limitations under the License.
67+
68+
Google Gson
69+
------------
70+
Copyright 2024 Google, Inc.
71+
72+
Licensed under the Apache License, Version 2.0 (the "License");
73+
you may not use this file except in compliance with the License.
74+
You may obtain a copy of the License at
75+
76+
http://www.apache.org/licenses/LICENSE-2.0
77+
78+
Unless required by applicable law or agreed to in writing, software
79+
distributed under the License is distributed on an "AS IS" BASIS,
80+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
81+
See the License for the specific language governing permissions and
82+
limitations under the License.
83+
84+
Gradle Develocity Plugin/Extension Adapters
85+
-------------------------------------------
86+
Copyright 2024 Gradle, Inc.
87+
88+
Licensed under the Apache License, Version 2.0 (the "License");
89+
you may not use this file except in compliance with the License.
90+
You may obtain a copy of the License at
91+
92+
http://www.apache.org/licenses/LICENSE-2.0
93+
94+
Unless required by applicable law or agreed to in writing, software
95+
distributed under the License is distributed on an "AS IS" BASIS,
96+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
97+
See the License for the specific language governing permissions and
98+
limitations under the License.
99+
100+
Gradle Common Custom User Data Maven Extension
101+
----------------------------------------------
102+
Copyright 2024 Gradle, Inc.
103+
104+
Licensed under the Apache License, Version 2.0 (the "License");
105+
you may not use this file except in compliance with the License.
106+
You may obtain a copy of the License at
107+
108+
http://www.apache.org/licenses/LICENSE-2.0
109+
110+
Unless required by applicable law or agreed to in writing, software
111+
distributed under the License is distributed on an "AS IS" BASIS,
112+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
113+
See the License for the specific language governing permissions and
114+
limitations under the License.
115+
116+
Gson on Fire
117+
-------------
118+
Copyright 2015 Julio Viera
119+
120+
Licensed under the Apache License, Version 2.0 (the "License");
121+
you may not use this file except in compliance with the License.
122+
You may obtain a copy of the License at
123+
124+
http://www.apache.org/licenses/LICENSE-2.0
125+
126+
Unless required by applicable law or agreed to in writing, software
127+
distributed under the License is distributed on an "AS IS" BASIS,
128+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
129+
See the License for the specific language governing permissions and
130+
limitations under the License.
131+
132+
Picocli
133+
-------
134+
Copyright 2023 Remko Popma
135+
136+
Licensed under the Apache License, Version 2.0 (the "License");
137+
you may not use this file except in compliance with the License.
138+
You may obtain a copy of the License at
139+
140+
http://www.apache.org/licenses/LICENSE-2.0
141+
142+
Unless required by applicable law or agreed to in writing, software
143+
distributed under the License is distributed on an "AS IS" BASIS,
144+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
145+
See the License for the specific language governing permissions and
146+
limitations under the License
147+
148+
Square OkHttp
149+
-------------
150+
Copyright 2019 Square, Inc.
151+
152+
Licensed under the Apache License, Version 2.0 (the "License");
153+
you may not use this file except in compliance with the License.
154+
You may obtain a copy of the License at
155+
156+
http://www.apache.org/licenses/LICENSE-2.0
157+
158+
Unless required by applicable law or agreed to in writing, software
159+
distributed under the License is distributed on an "AS IS" BASIS,
160+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
161+
See the License for the specific language governing permissions and
162+
limitations under the License.
163+
164+
Swagger Core - Annotations
165+
---------------------------
166+
Copyright 2023 SmartBear Software
167+
168+
Licensed under the Apache License, Version 2.0 (the "License");
169+
you may not use this file except in compliance with the License.
170+
You may obtain a copy of the License at
171+
172+
http://www.apache.org/licenses/LICENSE-2.0
173+
174+
Unless required by applicable law or agreed to in writing, software
175+
distributed under the License is distributed on an "AS IS" BASIS,
176+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
177+
See the License for the specific language governing permissions and
178+
limitations under the License.
179+
180+
SECTION 2: Common Development and Distribution License (CDDL) v1.0 and
181+
GNU General Public License (GPL) v2 with Classpath Exception
182+
====================================================================================================================================
183+
184+
JAX-RS
185+
------
186+
Copyright 2009 Oracle, Inc.
187+
188+
Licensed under the Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2 with Classpath Exception
189+
See https://javaee.github.io/jsr311/LICENSE
190+
191+
Javax Annotation
192+
----------------
193+
Copyright 2007 Oracle, Inc.
194+
195+
Licensed under the Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2 with Classpath Exception
196+
See https://github.com/javaee/javax.annotation/blob/master/LICENSE
197+
198+
SECTION 3: New BSD License
199+
=======================================================
200+
201+
Findbugs JSR 305
202+
----------------
203+
Copyright 2005 the University of Maryland
204+
205+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
206+
following conditions are met:
207+
208+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following
209+
disclaimer.
210+
211+
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following
212+
disclaimer in the documentation and/or other materials provided with the distribution.
213+
214+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES,
215+
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
216+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
217+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
218+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
219+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
220+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
221+
222+
SECTION 4: Gradle License
223+
=======================================================
224+
225+
Build Scan Summary
226+
------------------
227+
Copyright 2024 Gradle, Inc.
228+
229+
Subject to and licensed pursuant to the Gradle, Inc. Terms of Use, available at https://gradle.com/legal/terms-of-use/ (the "Gradle License").
230+
You may not use this library except in compliance with the Gradle License.

0 commit comments

Comments
 (0)