From 3310da981b9fd82df14dc900c12d3031e62987df Mon Sep 17 00:00:00 2001 From: Eric Haag Date: Thu, 20 Jun 2024 13:09:56 -0500 Subject: [PATCH] Fix formatting in convention examples --- .../examples/gradle_3_and_earlier/build.gradle | 15 +++++++-------- .../examples/gradle_4/build.gradle | 15 +++++++-------- .../examples/gradle_5/build.gradle | 6 +++--- .../examples/gradle_5/settings.gradle | 10 +++++----- .../examples/gradle_6_and_later/build.gradle | 4 ++-- .../examples/gradle_6_and_later/settings.gradle | 12 ++++++------ 6 files changed, 30 insertions(+), 32 deletions(-) diff --git a/convention-develocity-gradle-plugin/examples/gradle_3_and_earlier/build.gradle b/convention-develocity-gradle-plugin/examples/gradle_3_and_earlier/build.gradle index 72a6d5dfe..f99b61092 100644 --- a/convention-develocity-gradle-plugin/examples/gradle_3_and_earlier/build.gradle +++ b/convention-develocity-gradle-plugin/examples/gradle_3_and_earlier/build.gradle @@ -1,13 +1,12 @@ buildscript { - repositories { - mavenLocal() - maven { url 'https://plugins.gradle.org/m2/' } - } - dependencies { - classpath 'com.myorg:convention-develocity-gradle-plugin-gradle-2-through-4:1.0.0-SNAPSHOT' - } + repositories { + mavenLocal() + maven { url 'https://plugins.gradle.org/m2/' } + } + dependencies { + classpath 'com.myorg:convention-develocity-gradle-plugin-gradle-2-through-4:1.0.0-SNAPSHOT' + } } apply plugin: 'com.myorg.convention-develocity-gradle-2-through-4' apply plugin: 'java' - diff --git a/convention-develocity-gradle-plugin/examples/gradle_4/build.gradle b/convention-develocity-gradle-plugin/examples/gradle_4/build.gradle index 72a6d5dfe..f99b61092 100644 --- a/convention-develocity-gradle-plugin/examples/gradle_4/build.gradle +++ b/convention-develocity-gradle-plugin/examples/gradle_4/build.gradle @@ -1,13 +1,12 @@ buildscript { - repositories { - mavenLocal() - maven { url 'https://plugins.gradle.org/m2/' } - } - dependencies { - classpath 'com.myorg:convention-develocity-gradle-plugin-gradle-2-through-4:1.0.0-SNAPSHOT' - } + repositories { + mavenLocal() + maven { url 'https://plugins.gradle.org/m2/' } + } + dependencies { + classpath 'com.myorg:convention-develocity-gradle-plugin-gradle-2-through-4:1.0.0-SNAPSHOT' + } } apply plugin: 'com.myorg.convention-develocity-gradle-2-through-4' apply plugin: 'java' - diff --git a/convention-develocity-gradle-plugin/examples/gradle_5/build.gradle b/convention-develocity-gradle-plugin/examples/gradle_5/build.gradle index 79bf0d9ec..e19801066 100644 --- a/convention-develocity-gradle-plugin/examples/gradle_5/build.gradle +++ b/convention-develocity-gradle-plugin/examples/gradle_5/build.gradle @@ -1,4 +1,4 @@ plugins { - id 'com.myorg.convention-develocity-gradle-5-or-newer' version '1.0.0-SNAPSHOT' - id 'java' -} \ No newline at end of file + id 'com.myorg.convention-develocity-gradle-5-or-newer' version '1.0.0-SNAPSHOT' + id 'java' +} diff --git a/convention-develocity-gradle-plugin/examples/gradle_5/settings.gradle b/convention-develocity-gradle-plugin/examples/gradle_5/settings.gradle index 95d9d9b32..f8008b8b8 100644 --- a/convention-develocity-gradle-plugin/examples/gradle_5/settings.gradle +++ b/convention-develocity-gradle-plugin/examples/gradle_5/settings.gradle @@ -1,8 +1,8 @@ pluginManagement { - repositories { - mavenLocal() - gradlePluginPortal() - } + repositories { + mavenLocal() + gradlePluginPortal() + } } -rootProject.name = 'example-build' \ No newline at end of file +rootProject.name = 'example-build' diff --git a/convention-develocity-gradle-plugin/examples/gradle_6_and_later/build.gradle b/convention-develocity-gradle-plugin/examples/gradle_6_and_later/build.gradle index c9d13d753..075ba3d56 100644 --- a/convention-develocity-gradle-plugin/examples/gradle_6_and_later/build.gradle +++ b/convention-develocity-gradle-plugin/examples/gradle_6_and_later/build.gradle @@ -1,3 +1,3 @@ plugins { - id 'java' -} \ No newline at end of file + id 'java' +} diff --git a/convention-develocity-gradle-plugin/examples/gradle_6_and_later/settings.gradle b/convention-develocity-gradle-plugin/examples/gradle_6_and_later/settings.gradle index 23acf3974..ed349305d 100644 --- a/convention-develocity-gradle-plugin/examples/gradle_6_and_later/settings.gradle +++ b/convention-develocity-gradle-plugin/examples/gradle_6_and_later/settings.gradle @@ -1,12 +1,12 @@ pluginManagement { - repositories { - mavenLocal() - gradlePluginPortal() - } + repositories { + mavenLocal() + gradlePluginPortal() + } } plugins { - id 'com.myorg.convention-develocity-gradle-5-or-newer' version '1.0.0-SNAPSHOT' + id 'com.myorg.convention-develocity-gradle-5-or-newer' version '1.0.0-SNAPSHOT' } -rootProject.name = 'example-build' \ No newline at end of file +rootProject.name = 'example-build'