This is an automated email from the ASF dual-hosted git repository.

snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 72ea589  Apprunner: spotless against build-scripts (#60)
72ea589 is described below

commit 72ea589d38ccc066a7f6d7021f1ac147ade6ebf7
Author: Robert Stupp <[email protected]>
AuthorDate: Fri Nov 21 11:08:14 2025 +0100

    Apprunner: spotless against build-scripts (#60)
    
    Adopt to project structure.
---
 .../main/kotlin/polaris-apprunner-java.gradle.kts  |  2 +-
 .../main/kotlin/polaris-apprunner-root.gradle.kts  |  6 +++++-
 .../kotlin/publishing/PublishingHelperPlugin.kt    | 25 ++++++++++++----------
 3 files changed, 20 insertions(+), 13 deletions(-)

diff --git 
a/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-java.gradle.kts
 
b/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-java.gradle.kts
index e5064f6..5fde956 100644
--- 
a/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-java.gradle.kts
+++ 
b/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-java.gradle.kts
@@ -17,9 +17,9 @@
  * under the License.
  */
 
-import java.util.Properties
 import com.diffplug.spotless.FormatterFunc
 import java.io.Serializable
+import java.util.Properties
 import net.ltgt.gradle.errorprone.CheckSeverity
 import net.ltgt.gradle.errorprone.errorprone
 import publishing.PublishingHelperPlugin
diff --git 
a/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-root.gradle.kts
 
b/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-root.gradle.kts
index c6988f2..876cc2f 100644
--- 
a/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-root.gradle.kts
+++ 
b/apprunner/apprunner-build-logic/src/main/kotlin/polaris-apprunner-root.gradle.kts
@@ -28,7 +28,11 @@ spotless {
   kotlinGradle {
     ktfmt().googleStyle()
     licenseHeaderFile(rootProject.file("codestyle/copyright-header-java.txt"), 
"$")
-    target("*.gradle.kts", "build-logic/*.gradle.kts", 
"build-logic/src/**/*.kt*")
+    target(
+      "*.gradle.kts",
+      "apprunner-build-logic/*.gradle.kts",
+      "apprunner-build-logic/src/**/*.kt*",
+    )
   }
 }
 
diff --git 
a/apprunner/apprunner-build-logic/src/main/kotlin/publishing/PublishingHelperPlugin.kt
 
b/apprunner/apprunner-build-logic/src/main/kotlin/publishing/PublishingHelperPlugin.kt
index bafc4cc..af6675a 100644
--- 
a/apprunner/apprunner-build-logic/src/main/kotlin/publishing/PublishingHelperPlugin.kt
+++ 
b/apprunner/apprunner-build-logic/src/main/kotlin/publishing/PublishingHelperPlugin.kt
@@ -1,17 +1,20 @@
 /*
- * Copyright (C) 2022 Dremio
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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
  *
- * 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
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
  */
 
 package publishing

Reply via email to