Skip to content

/home/runner/work/test-cicd/test-cicd/app/build.gradle.kts:56:1 File must end with a newline (\n) #1

@github-actions

Description

@github-actions

Failure summary / 실패 요약

Task :app:ktlintKotlinScriptCheck FAILED

Relevant log excerpt / 관련 로그

Task :app:ktlintKotlinScriptCheck FAILED
/home/runner/work/test-cicd/test-cicd/app/build.gradle.kts:56:1 File must end with a newline (\n)

Task :app:ktlintTestSourceSetCheck FROM-CACHE
Task :library:loadKtlintReporters FROM-CACHE
gradle/actions: Writing build results to /home/runner/work/_temp/.gradle-actions/build-results/__run_2-1765283495867.json

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:ktlintKotlinScriptCheck'.

A failure occurred while executing org.jlleitschuh.gradle.ktlint.worker.ConsoleReportWorkAction
KtLint found code style violations. Please see the following reports:
- /home/runner/work/test-cicd/test-cicd/app/build/reports/ktlint/ktlintKotlinScriptCheck/ktlintKotlinScriptCheck.txt
- /home/runner/work/test-cicd/test-cicd/app/build/reports/ktlint/ktlintKotlinScriptCheck/ktlintKotlinScriptCheck.xml

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

BUILD FAILED in 17s
13 actionable tasks: 2 executed, 11 from cache

Extra context / 추가 정보

Runner: Linux
Event: push

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI-KtLintCI의 KtLint 중 발생하는 이슈에 사용되는 라벨

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions