Skip to content

Commit 721588d

Browse files
committed
Change log level of checkNotice Gradle task
1 parent b34aab4 commit 721588d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

buildSrc/src/main/kotlin/check-notice.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ tasks.register<DefaultTask>("checkNotice") {
3535
.sortedBy { it.path }
3636

3737
if (noticeResources.isNotEmpty()) {
38-
logger.lifecycle("Detected resources in NOTICE.txt:\n${noticeResources.joinToString("\n") { " ${it.path}" }}")
38+
logger.info("Detected resources in NOTICE.txt:\n${noticeResources.joinToString("\n") { " ${it.path}" }}")
3939
} else {
40-
logger.lifecycle("No resource detected in NOTICE.txt.")
40+
logger.info("No resource detected in NOTICE.txt.")
4141
}
4242

4343
// Get resources in project
@@ -64,9 +64,9 @@ tasks.register<DefaultTask>("checkNotice") {
6464
.sortedBy { it.path }
6565

6666
if (resources.isNotEmpty()) {
67-
logger.lifecycle("Detected resources in project:\n${resources.joinToString("\n") { " ${it.path}" }}")
67+
logger.info("Detected resources in project:\n${resources.joinToString("\n") { " ${it.path}" }}")
6868
} else {
69-
logger.lifecycle("No resource detected in project.")
69+
logger.info("No resource detected in project.")
7070
}
7171

7272
// Check if resources listed in NOTICE.txt exist

0 commit comments

Comments
 (0)