Skip to content

Commit 4ea705f

Browse files
Excavator: Upgrade gradle wrapper to the latest version
1 parent 3101647 commit 4ea705f

File tree

3 files changed

+27
-8
lines changed

3 files changed

+27
-8
lines changed

.baseline/checkstyle/checkstyle.xml

+25-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!--
1+
<?xml version="1.0"?>
2+
<!DOCTYPE module PUBLIC
3+
"-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
4+
"https://checkstyle.org/dtds/configuration_1_3.dtd">
5+
6+
<!--
27
Palantir Baseline Checkstyle configuration.
38
Authors: Robert Fink, Brian Worth, Merrick Zoubeiri, and many other contributors. Based in part on http://checkstyle.sourceforge.net/google_style.html
49
Please keep checks alphabetized with one exception: "relaxed" checks are grouped together at the bottom for easier disabling.
510
Check-specific comments reference documents internal to Palantir and can be safely ignored or removed.
6-
--><!DOCTYPE module PUBLIC "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN" "https://checkstyle.org/dtds/configuration_1_3.dtd">
11+
-->
12+
713
<module name="Checker">
814
<property name="charset" value="UTF-8"/>
915
<property name="severity" value="error"/>
@@ -185,9 +191,12 @@
185191
<property name="separated" value="true"/>
186192
<property name="sortStaticImportsAlphabetically" value="true"/>
187193
</module>
188-
194+
<module name="Indentation"> <!-- Java Style Guide: Block indentation: +4 spaces -->
195+
<property name="arrayInitIndent" value="8"/>
196+
<property name="lineWrappingIndentation" value="8"/>
197+
</module>
189198
<module name="InnerAssignment"/> <!-- Java Coding Guidelines: Inner assignments: Not used -->
190-
<!-- Java Style Guide: Nonempty blocks: K & R style -->
199+
<module name="LeftCurly"/> <!-- Java Style Guide: Nonempty blocks: K & R style -->
191200
<module name="MemberName"> <!-- Java Style Guide: Non-constant field names -->
192201
<property name="format" value="^[a-z][a-zA-Z0-9]+$"/>
193202
<message key="name.invalidPattern" value="Member name ''{0}'' must match pattern ''{1}''."/>
@@ -228,7 +237,7 @@
228237
<message key="name.invalidPattern" value="Package name ''{0}'' must match pattern ''{1}''."/>
229238
</module>
230239
<module name="ParameterAssignment"/> <!-- Java Coding Guidelines: Final variables and parameters -->
231-
<!-- Java Style Guide: Horizontal whitespace -->
240+
<module name="ParenPad"/> <!-- Java Style Guide: Horizontal whitespace -->
232241
<module name="RedundantImport"/> <!-- Java Style Guide: No unused imports -->
233242
<module name="RedundantModifier"/> <!-- Java Coding Guidelines: Avoid redundant modifiers -->
234243
<module name="RegexpSinglelineJava"> <!-- Java Coding Guidelines: Use appropriate assertion methods -->
@@ -394,7 +403,16 @@
394403
<module name="UpperEll"/> <!-- Java Style Guide: Numeric Literals -->
395404
<module name="VisibilityModifier"/> <!-- Java Coding Guidelines: Minimize mutability -->
396405
<module name="WhitespaceAfter"/> <!-- Java Style Guide: Horizontal whitespace -->
397-
406+
<module name="WhitespaceAround"> <!-- Java Style Guide: Horizontal whitespace -->
407+
<property name="allowEmptyConstructors" value="true"/>
408+
<property name="allowEmptyMethods" value="true"/>
409+
<property name="allowEmptyTypes" value="true"/>
410+
<property name="allowEmptyLoops" value="true"/>
411+
<property name="allowEmptyLambdas" value="true"/>
412+
<property name="ignoreEnhancedForColon" value="false"/>
413+
<message key="ws.notFollowed" value="WhitespaceAround: ''{0}'' is not followed by whitespace. Empty blocks may only be represented as '{}' when not part of a multi-block statement (4.1.3)"/>
414+
<message key="ws.notPreceded" value="WhitespaceAround: ''{0}'' is not preceded with whitespace."/>
415+
</module>
398416

399417
<!-- Stricter checks begin: delete some or all of the following for faster prototyping, but please restore before pushing to production. -->
400418

@@ -445,4 +463,4 @@
445463

446464
<!-- Stricter checks end -->
447465
</module>
448-
</module>
466+
</module>

.baseline/copyright/999_palantir.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(c) Copyright ${today.year} Palantir Technologies Inc. All rights reserved.

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
classpath 'com.palantir.jakartapackagealignment:jakarta-package-alignment:0.6.0'
99
classpath 'com.palantir.gradle.jdks:gradle-jdks:0.37.0'
1010
classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.14.0'
11-
classpath 'com.palantir.baseline:gradle-baseline-java:5.50.0'
11+
classpath 'com.palantir.baseline:gradle-baseline-java:5.58.0'
1212
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.27.0'
1313
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.19.0'
1414
classpath 'com.palantir.gradle.failure-reports:gradle-failure-reports:1.13.0'

0 commit comments

Comments
 (0)