From a86d4c3ead81c074cb381412f717695d0c8c6c85 Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Tue, 30 Apr 2024 13:46:16 +0200 Subject: [PATCH] Gradle 8.8-rc-1 --- .github/workflows/build.yaml | 93 ++++++++++--------- .../java-plugins/build.gradle.kts | 2 +- 2 files changed, 49 insertions(+), 46 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1c973ef..b38c721 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,57 +1,60 @@ -name: Build Plugin +name: Build All on: [ push, pull_request ] jobs: gradle-build: runs-on: ubuntu-latest steps: - name: git clone - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - name: Set up JDK - uses: actions/setup-java@v4.0.0 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 - name: Set up Gradle - uses: gradle/actions/setup-gradle@v3.0.0 + uses: gradle/actions/setup-gradle@v3 with: - gradle-version: 8.6 - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 01_The_Settings_File/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 02_The_Build_Files/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 03_Plugins/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 04_Tasks/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 05_Lifecycle_Tasks/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 06_Configuring_Task_Inputs_And_Outputs/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 07_Implementing_Tasks_and_Extensions/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 08_Declaring_Dependencis/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/A_Dependency_Constrains_in_Convention_Plugin/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/B_Platform_Project/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/C_Version_Catalog/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/D_Dependency_Locking/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 10_Dependency_Version_Conflicts/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 11_Capability_Conflicts/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 12_Publishing_Libraries/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 13_Aggregating_Custom_Artifacts/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 14_Settings_Plugins/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 16_Source_Sets/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 16_Source_Sets/my-android-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 16_Source_Sets/my-kotlin-multi-platform-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 17_Feature_Variants/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 18_Configuring_Testing/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 19_The_Test_Task/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 20_Test_Fixtures/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 21_Test_and_Code_Coverage_Reporting/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 22_The_JavaCompile_Task/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 23_Caching/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 24_Kotlin_DSL_and_Groovy_DSL/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 25_Using_Java_to_configure_builds/my-project" - - run: "gradle run -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 26_The_Classpath/my-project" - - run: "gradle run -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 27_Multiple_Compile_Classpaths/my-project" - - run: "gradle run -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 28_Dependency_Analysis_Plugin/my-project" - - run: "gradle run -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 29_Classpath_Collisions/my-project" - - run: "gradle run -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 30_Security_Vulnerabilities/my-project" - - run: "gradle run -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 31_The_Module_Path/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 32_Artifact_Transforms/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 33_Classpath_and_Module_Path_in_Testing/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 34_Properties_and_Providers/my-project" - - run: "gradle build -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 35_Working_with_Files/my-project" - - run: "gradle run -Dorg.gradle.kotlin.dsl.skipMetadataVersionCheck=false --configuration-cache --warning-mode=fail -p 36_Task_Actions/my-project" \ No newline at end of file + gradle-version: 8.8-rc-1 + build-scan-publish: true + build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" + build-scan-terms-of-use-agree: "yes" + - run: "gradle help --configuration-cache --warning-mode=fail -p 01_The_Settings_File/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 02_The_Build_Files/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 03_Plugins/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 04_Tasks/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 05_Lifecycle_Tasks/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 06_Configuring_Task_Inputs_And_Outputs/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 07_Implementing_Tasks_and_Extensions/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 08_Declaring_Dependencis/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/A_Dependency_Constrains_in_Convention_Plugin/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/B_Platform_Project/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/C_Version_Catalog/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 09_Centralizing_Dependency_Versions/D_Dependency_Locking/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 10_Dependency_Version_Conflicts/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 11_Capability_Conflicts/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 12_Publishing_Libraries/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 13_Aggregating_Custom_Artifacts/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 14_Settings_Plugins/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 16_Source_Sets/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 16_Source_Sets/my-android-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 16_Source_Sets/my-kotlin-multi-platform-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 17_Feature_Variants/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 18_Configuring_Testing/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 19_The_Test_Task/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 20_Test_Fixtures/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 21_Test_and_Code_Coverage_Reporting/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 22_The_JavaCompile_Task/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 23_Caching/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 24_Kotlin_DSL_and_Groovy_DSL/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 25_Using_Java_to_configure_builds/my-project" + - run: "gradle run --configuration-cache --warning-mode=fail -p 26_The_Classpath/my-project" + - run: "gradle run --configuration-cache --warning-mode=fail -p 27_Multiple_Compile_Classpaths/my-project" + - run: "gradle run --configuration-cache --warning-mode=fail -p 28_Dependency_Analysis_Plugin/my-project" + - run: "gradle run --configuration-cache --warning-mode=fail -p 29_Classpath_Collisions/my-project" + - run: "gradle run --configuration-cache --warning-mode=fail -p 30_Security_Vulnerabilities/my-project" + - run: "gradle run --configuration-cache --warning-mode=fail -p 31_The_Module_Path/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 32_Artifact_Transforms/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 33_Classpath_and_Module_Path_in_Testing/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 34_Properties_and_Providers/my-project" + - run: "gradle build --configuration-cache --warning-mode=fail -p 35_Working_with_Files/my-project" + - run: "gradle run --configuration-cache --warning-mode=fail -p 36_Task_Actions/my-project" \ No newline at end of file diff --git a/03_Plugins/my-build-logic/java-plugins/build.gradle.kts b/03_Plugins/my-build-logic/java-plugins/build.gradle.kts index 0d16800..3cd65cd 100644 --- a/03_Plugins/my-build-logic/java-plugins/build.gradle.kts +++ b/03_Plugins/my-build-logic/java-plugins/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20") + implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23") } \ No newline at end of file