Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 5 additions & 28 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ buildscript {
}

plugins {
java
`java-library`
idea
jacoco
@Suppress("RemoveRedundantQualifierName") // Cannot use imports here.
Expand Down Expand Up @@ -122,20 +122,21 @@ subprojects {
dependencies {
errorprone(Deps.build.errorProneCore)
errorproneJavac(Deps.build.errorProneJavac)
// For dependencies config. based on version of Java, see:
// https://github.com/epeee/junit-jupiter-extension-testing/blob/57b7ba75ab64ed8c229d2a5b14a954d6ae359189/gradle/errorprone.gradle

implementation("io.spine:spine-server:$spineCoreVersion")

compileOnlyApi(Deps.build.checkerAnnotations)
compileOnlyApi(Deps.build.jsr305Annotations)
Deps.build.errorProneAnnotations.forEach { compileOnlyApi(it) }

testImplementation("io.spine:spine-testutil-server:$spineCoreVersion")
testImplementation(group = "io.spine",
name = "spine-server",
version = spineCoreVersion,
classifier = "test")
Deps.test.junit5Api.forEach { testImplementation(it) }
testImplementation(Deps.test.junit5Runner)
testImplementation(Deps.test.hamcrest)
testImplementation(Deps.test.guavaTestlib)
Deps.test.truth.forEach { testImplementation(it) }
testRuntimeOnly(Deps.test.junit5Runner)
}

// Apply the same IDEA module configuration for each of sub-projects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ class IncrementGuard : Plugin<Project> {

shouldRunAfter("test")
if (!shouldCheckVersion()) {
logger.info("The build does not represent a GitHub Actions feature branch job, " +
"the `checkVersionIncrement` task is disabled.")
logger.info(
"The build does not represent a GitHub Actions feature branch job, " +
"the `checkVersionIncrement` task is disabled."
)
this.enabled = false
}
}
Expand Down
Loading