From 4be1be78039f10a679602f30c71250bdedb109fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 7 Jan 2025 10:50:30 +0100 Subject: [PATCH] code samples: Gradle 8.12 --- .../gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/_gradleCompositeBuild/gradlew | 3 +-- .../action_basics/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/action_basics/gradlew | 3 +-- .../gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/comparing_string_references_inspection/gradlew | 3 +-- .../gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/conditional_operator_intention/gradlew | 3 +-- .../editor_basics/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/editor_basics/gradlew | 3 +-- .../facet_basics/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/facet_basics/gradlew | 3 +-- .../framework_basics/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/framework_basics/gradlew | 3 +-- .../live_templates/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/live_templates/gradlew | 3 +-- .../gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/max_opened_projects/gradlew | 3 +-- code_samples/module/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/module/gradlew | 3 +-- .../pycharm_basics/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/product_specific/pycharm_basics/gradlew | 3 +-- .../project_model/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/project_model/gradlew | 3 +-- .../project_view_pane/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/project_view_pane/gradlew | 3 +-- .../project_wizard/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/project_wizard/gradlew | 3 +-- code_samples/psi_demo/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/psi_demo/gradlew | 3 +-- .../run_configuration/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/run_configuration/gradlew | 3 +-- code_samples/settings/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/settings/gradlew | 3 +-- .../gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/simple_language_plugin/gradlew | 3 +-- .../tool_window/gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/tool_window/gradlew | 3 +-- .../gradle/wrapper/gradle-wrapper.properties | 2 +- code_samples/tree_structure_provider/gradlew | 3 +-- 40 files changed, 40 insertions(+), 60 deletions(-) diff --git a/code_samples/_gradleCompositeBuild/gradle/wrapper/gradle-wrapper.properties b/code_samples/_gradleCompositeBuild/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/_gradleCompositeBuild/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/_gradleCompositeBuild/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/_gradleCompositeBuild/gradlew b/code_samples/_gradleCompositeBuild/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/_gradleCompositeBuild/gradlew +++ b/code_samples/_gradleCompositeBuild/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/action_basics/gradle/wrapper/gradle-wrapper.properties b/code_samples/action_basics/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/action_basics/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/action_basics/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/action_basics/gradlew b/code_samples/action_basics/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/action_basics/gradlew +++ b/code_samples/action_basics/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/comparing_string_references_inspection/gradle/wrapper/gradle-wrapper.properties b/code_samples/comparing_string_references_inspection/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/comparing_string_references_inspection/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/comparing_string_references_inspection/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/comparing_string_references_inspection/gradlew b/code_samples/comparing_string_references_inspection/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/comparing_string_references_inspection/gradlew +++ b/code_samples/comparing_string_references_inspection/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/conditional_operator_intention/gradle/wrapper/gradle-wrapper.properties b/code_samples/conditional_operator_intention/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/conditional_operator_intention/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/conditional_operator_intention/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/conditional_operator_intention/gradlew b/code_samples/conditional_operator_intention/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/conditional_operator_intention/gradlew +++ b/code_samples/conditional_operator_intention/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/editor_basics/gradle/wrapper/gradle-wrapper.properties b/code_samples/editor_basics/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/editor_basics/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/editor_basics/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/editor_basics/gradlew b/code_samples/editor_basics/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/editor_basics/gradlew +++ b/code_samples/editor_basics/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/facet_basics/gradle/wrapper/gradle-wrapper.properties b/code_samples/facet_basics/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/facet_basics/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/facet_basics/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/facet_basics/gradlew b/code_samples/facet_basics/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/facet_basics/gradlew +++ b/code_samples/facet_basics/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/framework_basics/gradle/wrapper/gradle-wrapper.properties b/code_samples/framework_basics/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/framework_basics/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/framework_basics/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/framework_basics/gradlew b/code_samples/framework_basics/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/framework_basics/gradlew +++ b/code_samples/framework_basics/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/live_templates/gradle/wrapper/gradle-wrapper.properties b/code_samples/live_templates/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/live_templates/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/live_templates/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/live_templates/gradlew b/code_samples/live_templates/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/live_templates/gradlew +++ b/code_samples/live_templates/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/max_opened_projects/gradle/wrapper/gradle-wrapper.properties b/code_samples/max_opened_projects/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/max_opened_projects/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/max_opened_projects/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/max_opened_projects/gradlew b/code_samples/max_opened_projects/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/max_opened_projects/gradlew +++ b/code_samples/max_opened_projects/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/module/gradle/wrapper/gradle-wrapper.properties b/code_samples/module/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/module/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/module/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/module/gradlew b/code_samples/module/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/module/gradlew +++ b/code_samples/module/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/product_specific/pycharm_basics/gradle/wrapper/gradle-wrapper.properties b/code_samples/product_specific/pycharm_basics/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/product_specific/pycharm_basics/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/product_specific/pycharm_basics/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/product_specific/pycharm_basics/gradlew b/code_samples/product_specific/pycharm_basics/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/product_specific/pycharm_basics/gradlew +++ b/code_samples/product_specific/pycharm_basics/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/project_model/gradle/wrapper/gradle-wrapper.properties b/code_samples/project_model/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/project_model/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/project_model/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/project_model/gradlew b/code_samples/project_model/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/project_model/gradlew +++ b/code_samples/project_model/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/project_view_pane/gradle/wrapper/gradle-wrapper.properties b/code_samples/project_view_pane/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/project_view_pane/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/project_view_pane/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/project_view_pane/gradlew b/code_samples/project_view_pane/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/project_view_pane/gradlew +++ b/code_samples/project_view_pane/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/project_wizard/gradle/wrapper/gradle-wrapper.properties b/code_samples/project_wizard/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/project_wizard/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/project_wizard/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/project_wizard/gradlew b/code_samples/project_wizard/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/project_wizard/gradlew +++ b/code_samples/project_wizard/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/psi_demo/gradle/wrapper/gradle-wrapper.properties b/code_samples/psi_demo/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/psi_demo/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/psi_demo/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/psi_demo/gradlew b/code_samples/psi_demo/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/psi_demo/gradlew +++ b/code_samples/psi_demo/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/run_configuration/gradle/wrapper/gradle-wrapper.properties b/code_samples/run_configuration/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/run_configuration/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/run_configuration/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/run_configuration/gradlew b/code_samples/run_configuration/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/run_configuration/gradlew +++ b/code_samples/run_configuration/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/settings/gradle/wrapper/gradle-wrapper.properties b/code_samples/settings/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/settings/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/settings/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/settings/gradlew b/code_samples/settings/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/settings/gradlew +++ b/code_samples/settings/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/simple_language_plugin/gradle/wrapper/gradle-wrapper.properties b/code_samples/simple_language_plugin/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/simple_language_plugin/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/simple_language_plugin/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/simple_language_plugin/gradlew b/code_samples/simple_language_plugin/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/simple_language_plugin/gradlew +++ b/code_samples/simple_language_plugin/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/tool_window/gradle/wrapper/gradle-wrapper.properties b/code_samples/tool_window/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/tool_window/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/tool_window/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/tool_window/gradlew b/code_samples/tool_window/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/tool_window/gradlew +++ b/code_samples/tool_window/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum diff --git a/code_samples/tree_structure_provider/gradle/wrapper/gradle-wrapper.properties b/code_samples/tree_structure_provider/gradle/wrapper/gradle-wrapper.properties index e2847c820..cea7a793a 100644 --- a/code_samples/tree_structure_provider/gradle/wrapper/gradle-wrapper.properties +++ b/code_samples/tree_structure_provider/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/code_samples/tree_structure_provider/gradlew b/code_samples/tree_structure_provider/gradlew index f5feea6d6..f3b75f3b0 100755 --- a/code_samples/tree_structure_provider/gradlew +++ b/code_samples/tree_structure_provider/gradlew @@ -86,8 +86,7 @@ done # shellcheck disable=SC2034 APP_BASE_NAME=${0##*/} # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s -' "$PWD" ) || exit +APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum