Skip to content

Commit 91fa9fa

Browse files
Update config.
1 parent 2ae29ef commit 91fa9fa

File tree

7 files changed

+107
-99
lines changed

7 files changed

+107
-99
lines changed

.idea/codeStyles/Project.xml

Lines changed: 25 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 5 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

buildSrc/src/main/kotlin/io/spine/gradle/internal/IncrementGuard.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ class IncrementGuard : Plugin<Project> {
5151

5252
shouldRunAfter("test")
5353
if (!shouldCheckVersion()) {
54-
logger.info("The build does not represent a GitHub Actions feature branch job, " +
55-
"the `checkVersionIncrement` task is disabled.")
54+
logger.info(
55+
"The build does not represent a GitHub Actions feature branch job, " +
56+
"the `checkVersionIncrement` task is disabled."
57+
)
5658
this.enabled = false
5759
}
5860
}

buildSrc/src/main/kotlin/io/spine/gradle/internal/RunBuild.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ open class RunBuild : DefaultTask() {
7070
val command = mutableListOf<String>()
7171
command.add("${project.rootDir}/$script")
7272
val shouldClean = project.gradle
73-
.taskGraph
74-
.hasTask(":clean")
73+
.taskGraph
74+
.hasTask(":clean")
7575
if (shouldClean) {
7676
command.add("clean")
7777
}
@@ -83,10 +83,10 @@ open class RunBuild : DefaultTask() {
8383
}
8484

8585
private fun buildProcess(command: List<String>, errorOut: File, debugOut: File) =
86-
ProcessBuilder()
87-
.command(command)
88-
.directory(project.file(directory))
89-
.redirectError(errorOut)
90-
.redirectOutput(debugOut)
91-
.start()
86+
ProcessBuilder()
87+
.command(command)
88+
.directory(project.file(directory))
89+
.redirectError(errorOut)
90+
.redirectOutput(debugOut)
91+
.start()
9292
}

0 commit comments

Comments
 (0)