-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix formatting in convention examples
- Loading branch information
1 parent
ca18f2f
commit 3310da9
Showing
6 changed files
with
30 additions
and
32 deletions.
There are no files selected for viewing
15 changes: 7 additions & 8 deletions
15
convention-develocity-gradle-plugin/examples/gradle_3_and_earlier/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' | ||
|
15 changes: 7 additions & 8 deletions
15
convention-develocity-gradle-plugin/examples/gradle_4/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' | ||
|
6 changes: 3 additions & 3 deletions
6
convention-develocity-gradle-plugin/examples/gradle_5/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
plugins { | ||
id 'com.myorg.convention-develocity-gradle-5-or-newer' version '1.0.0-SNAPSHOT' | ||
id 'java' | ||
} | ||
id 'com.myorg.convention-develocity-gradle-5-or-newer' version '1.0.0-SNAPSHOT' | ||
id 'java' | ||
} |
10 changes: 5 additions & 5 deletions
10
convention-develocity-gradle-plugin/examples/gradle_5/settings.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
pluginManagement { | ||
repositories { | ||
mavenLocal() | ||
gradlePluginPortal() | ||
} | ||
repositories { | ||
mavenLocal() | ||
gradlePluginPortal() | ||
} | ||
} | ||
|
||
rootProject.name = 'example-build' | ||
rootProject.name = 'example-build' |
4 changes: 2 additions & 2 deletions
4
convention-develocity-gradle-plugin/examples/gradle_6_and_later/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
plugins { | ||
id 'java' | ||
} | ||
id 'java' | ||
} |
12 changes: 6 additions & 6 deletions
12
convention-develocity-gradle-plugin/examples/gradle_6_and_later/settings.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' | ||
rootProject.name = 'example-build' |