Fix githubRelease script (#1728) Previously, the task would throw an error: ``` $ ./gradlew githubRelease Type-safe project accessors is an incubating feature. FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':githubRelease'. > Cannot query the value of this provider because it has no value available. ``` Tested via a dry run: ``` ./gradlew githubRelease Type-safe project accessors is an incubating feature. > Task :githubRelease Execution optimizations have been disabled for task ':githubRelease' to ensure correctness due to the following reasons: - Gradle detected a problem with the following location: '/Users/shasha/code/ktlint/ktlint/build/run'. Reason: Task ':githubRelease' uses this output of task ':ktlint:shadowJarExecutableChecksum' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.6/userguide/validation_problems.html#implicit_dependency for more details about this problem. :githubRelease [This task is a dry run. All API calls that would modify the repo are disabled. API calls that access the repo information are not disabled. Use this to show what actions would be executed.] :githubRelease [CHECKING FOR PREVIOUS RELEASE] :githubRelease [CREATING NEW RELEASE { tag_name = 0.48.0 target_commitish = master name = 0.48.0 generate_release_notes = false body = ## [0.48.0] - 2022-10-15 <clip> draft = false prerelease = false }] :githubRelease [UPLOADING /Users/shasha/code/ktlint/ktlint/build/run] ```
.editorconfig supportplain, json, html and checkstyleUser guide
This project is not affiliated with nor endorsed by JetBrains.
All code, unless specified otherwise, is licensed under the MIT license.
Copyright (c) 2019 Pinterest, Inc.
Copyright (c) 2016-2019 Stanley Shyiko.