-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply Spotless formatting to Gradle script plugins
- Loading branch information
1 parent
dae525d
commit d8ec757
Showing
8 changed files
with
64 additions
and
65 deletions.
There are no files selected for viewing
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,15 +1,15 @@ | ||
plugins { | ||
`kotlin-dsl` | ||
`kotlin-dsl` | ||
} | ||
|
||
repositories { | ||
gradlePluginPortal() | ||
gradlePluginPortal() | ||
} | ||
|
||
dependencies { | ||
implementation("junitbuild.base:code-generator-model") | ||
implementation(projects.common) | ||
implementation(libs.jackson.dataformat.yaml) | ||
implementation(libs.jackson.module.kotlin) | ||
implementation(libs.jte) | ||
implementation("junitbuild.base:code-generator-model") | ||
implementation(projects.common) | ||
implementation(libs.jackson.dataformat.yaml) | ||
implementation(libs.jackson.module.kotlin) | ||
implementation(libs.jte) | ||
} |
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
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
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
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
18 changes: 9 additions & 9 deletions
18
gradle/plugins/common/src/main/kotlin/junitbuild.jmh-conventions.gradle.kts
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,23 +1,23 @@ | ||
plugins { | ||
id("me.champeau.jmh") | ||
id("me.champeau.jmh") | ||
} | ||
|
||
jmh { | ||
jmhVersion = requiredVersionFromLibs("jmh") | ||
jmhVersion = requiredVersionFromLibs("jmh") | ||
} | ||
|
||
dependencies { | ||
jmh(dependencyFromLibs("jmh-core")) | ||
jmhAnnotationProcessor(dependencyFromLibs("jmh-generator-annprocess")) | ||
jmh(dependencyFromLibs("jmh-core")) | ||
jmhAnnotationProcessor(dependencyFromLibs("jmh-generator-annprocess")) | ||
} | ||
|
||
tasks.jmhJar { | ||
notCompatibleWithConfigurationCache("https://github.com/melix/jmh-gradle-plugin/issues/229") | ||
notCompatibleWithConfigurationCache("https://github.com/melix/jmh-gradle-plugin/issues/229") | ||
} | ||
|
||
pluginManager.withPlugin("checkstyle") { | ||
tasks.named<Checkstyle>("checkstyleJmh").configure { | ||
// use same style rules as defined for tests | ||
config = resources.text.fromFile(project.the<CheckstyleExtension>().configDirectory.file("checkstyleTest.xml")) | ||
} | ||
tasks.named<Checkstyle>("checkstyleJmh").configure { | ||
// use same style rules as defined for tests | ||
config = resources.text.fromFile(project.the<CheckstyleExtension>().configDirectory.file("checkstyleTest.xml")) | ||
} | ||
} |
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
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