From e60c373f553da78cb1fc6e0cab2a8df7bad89019 Mon Sep 17 00:00:00 2001 From: KotlinIsland <65446343+KotlinIsland@users.noreply.github.com> Date: Mon, 19 Sep 2022 20:21:15 +1000 Subject: [PATCH] =?UTF-8?q?(=F0=9F=8E=81)=20Use=20`file`=20instead=20of=20?= =?UTF-8?q?`projectDir.resolve`=20(#293)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Use `file` instead of `projectDir.resolve` * CHANGELOG.md update Co-authored-by: KotlinIsland Co-authored-by: Jakub Chrzanowski --- CHANGELOG.md | 8 ++++++++ build.gradle.kts | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3819c43..995b08d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,8 +3,16 @@ # IntelliJ Platform Plugin Template Changelog ## [Unreleased] +### Added +- GitHub Actions - mark the pull request created with _Publish Plugin_ workflow with `release changelog` label + ### Changed - Dependencies - upgrade `org.jetbrains.intellij` to `1.8.1` +- Use `file` instead of `projectDir.resolve` in Gradle configuration file + +### Fixed +- Update broken link in `gradle.properties` +- GitHub Actions - use `$BRANCH` for creating changelog pull request ### Fixed - Update broken link in `gradle.properties` diff --git a/build.gradle.kts b/build.gradle.kts index 3b99b21..dd510ac 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -48,8 +48,8 @@ changelog { // Configure Gradle Qodana Plugin - read more: https://github.com/JetBrains/gradle-qodana-plugin qodana { - cachePath.set(projectDir.resolve(".qodana").canonicalPath) - reportPath.set(projectDir.resolve("build/reports/inspections").canonicalPath) + cachePath.set(file(".qodana").canonicalPath) + reportPath.set(file("build/reports/inspections").canonicalPath) saveReport.set(true) showReport.set(System.getenv("QODANA_SHOW_REPORT")?.toBoolean() ?: false) } @@ -66,7 +66,7 @@ tasks { // Extract the section from README.md and provide for the plugin's manifest pluginDescription.set( - projectDir.resolve("README.md").readText().lines().run { + file("README.md").readText().lines().run { val start = "" val end = ""