From 4da7726aaca5f112e9d1700eeb1a828035fe53ca Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Wed, 5 Dec 2018 14:40:19 +0000 Subject: [PATCH] Upgrade baseline to 0.41.0 (#454) Need to figure out how to merge the checkstyles because otherwise we will end up with a lot of mess --- .../checkstyle/checkstyle-suppressions.xml | 5 + .baseline/checkstyle/checkstyle.xml | 45 ++- .baseline/copyright/001_apache-2.0.txt | 2 + .../idea/intellij-java-palantir-style.xml | 17 +- build.gradle | 27 +- spark-docker-image-generator/build.gradle | 18 +- .../docker/gradle/DockerBuildTask.java | 73 +++-- .../docker/gradle/GenerateDockerFileTask.java | 90 +++--- .../docker/gradle/LazyExecTask.java | 31 +- .../docker/gradle/SparkDockerExtension.java | 67 +++-- .../docker/gradle/SparkDockerPlugin.java | 270 +++++++++--------- .../docker/gradle/DockerBuildTaskSuite.java | 73 +++-- .../gradle/GenerateDockerFileTaskSuite.java | 101 ++++--- .../docker/gradle/LazyExecTaskSuite.java | 61 ++-- .../docker/gradle/ProjectExecUtils.java | 15 +- .../docker/gradle/SparkDockerPluginSuite.java | 171 ++++++----- .../org/apache/spark/test/HelloWorld.java | 10 +- versions.props | 1 - 18 files changed, 541 insertions(+), 536 deletions(-) diff --git a/.baseline/checkstyle/checkstyle-suppressions.xml b/.baseline/checkstyle/checkstyle-suppressions.xml index f17b9145ec27c..de762b16b0473 100644 --- a/.baseline/checkstyle/checkstyle-suppressions.xml +++ b/.baseline/checkstyle/checkstyle-suppressions.xml @@ -12,6 +12,11 @@ + + + + + diff --git a/.baseline/checkstyle/checkstyle.xml b/.baseline/checkstyle/checkstyle.xml index 23938c9fcfe17..86b2e624468b8 100644 --- a/.baseline/checkstyle/checkstyle.xml +++ b/.baseline/checkstyle/checkstyle.xml @@ -124,11 +124,17 @@ - + + + + + + - + + @@ -148,6 +154,10 @@ + + + + @@ -171,17 +181,15 @@ - - + + + - - - - - - + + + @@ -272,6 +280,11 @@ + + + + + @@ -322,6 +335,18 @@ + + + + + + + + + + + + diff --git a/.baseline/copyright/001_apache-2.0.txt b/.baseline/copyright/001_apache-2.0.txt index 51fca54c2a05e..54d4a0312b565 100644 --- a/.baseline/copyright/001_apache-2.0.txt +++ b/.baseline/copyright/001_apache-2.0.txt @@ -1,3 +1,5 @@ +(c) Copyright ${today.year} Palantir Technologies Inc. All rights reserved. + 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 diff --git a/.baseline/idea/intellij-java-palantir-style.xml b/.baseline/idea/intellij-java-palantir-style.xml index 12be2578feda6..fbfbd5c4963cd 100644 --- a/.baseline/idea/intellij-java-palantir-style.xml +++ b/.baseline/idea/intellij-java-palantir-style.xml @@ -50,6 +50,7 @@