Skip to content

Commit 63ed718

Browse files
Update config
1 parent ed6dc33 commit 63ed718

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

buildSrc/src/main/kotlin/io/spine/dependency/local/BaseTypes.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ package io.spine.dependency.local
3333
*/
3434
@Suppress("ConstPropertyName")
3535
object BaseTypes {
36-
const val version = "2.0.0-SNAPSHOT.211"
36+
const val version = "2.0.0-SNAPSHOT.212"
3737
const val group = Spine.group
3838
const val artifact = "spine-base-types"
3939
const val lib = "$group:$artifact:$version"

buildSrc/src/main/kotlin/io/spine/dependency/local/CoreJvmCompiler.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ object CoreJvmCompiler {
4646
/**
4747
* The version used to in the build classpath.
4848
*/
49-
const val dogfoodingVersion = "2.0.0-SNAPSHOT.032"
49+
const val dogfoodingVersion = "2.0.0-SNAPSHOT.034"
5050

5151
/**
5252
* The version to be used for integration tests.
5353
*/
54-
const val version = "2.0.0-SNAPSHOT.032"
54+
const val version = "2.0.0-SNAPSHOT.034"
5555

5656
/**
5757
* The ID of the Gradle plugin.

buildSrc/src/main/kotlin/io/spine/gradle/report/license/LicenseReporter.kt

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,18 @@ object LicenseReporter {
151151
sourceProjects: Iterable<Project>,
152152
rootProject: Project
153153
) {
154-
val paths = sourceProjects.map {
155-
val buildDir = it.layout.buildDirectory.asFile.get()
156-
"$buildDir/${Paths.relativePath}/${Paths.outputFilename}"
157-
}
158-
println("Merging the license reports from the all projects.")
154+
val paths = sourceProjects
155+
.map {
156+
val buildDir = it.layout.buildDirectory.asFile.get()
157+
"$buildDir/${Paths.relativePath}/${Paths.outputFilename}"
158+
}.filter {
159+
val exists = File(it).exists()
160+
if (!exists) {
161+
rootProject.logger.debug("License report file not found: $it")
162+
}
163+
exists
164+
}
165+
println("Merging the license reports from all projects.")
159166
val mergedContent = paths.joinToString("\n\n\n") { (File(it)).readText() }
160167
val output = File("${rootProject.rootDir}/${Paths.outputFilename}")
161168
output.writeText(mergedContent)

0 commit comments

Comments
 (0)