diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bb5e24a..a341f56 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,42 +14,42 @@ jobs: - name: Set up Gradle uses: gradle/gradle-build-action@v2.5.1 with: - gradle-version: 8.4 - - run: "gradle build --warning-mode=fail -p 01_The_Settings_File/my-project" - - run: "gradle build --warning-mode=fail -p 02_The_Build_Files/my-project" - - run: "gradle build --warning-mode=fail -p 03_Plugins/my-project" - - run: "gradle build --warning-mode=fail -p 04_Tasks/my-project" - - run: "gradle build --warning-mode=fail -p 05_Lifecycle_Tasks/my-project" - - run: "gradle build --warning-mode=fail -p 06_Configuring_Task_Inputs_And_Outputs/my-project" - - run: "gradle build --warning-mode=fail -p 07_Implementing_Tasks_and_Extensions/my-project" - - run: "gradle build --warning-mode=fail -p 08_Declaring_Dependencis/my-project" - - run: "gradle build --warning-mode=fail -p 09_Centralizing_Dependency_Versions/A_Dependency_Constrains_in_Convention_Plugin/my-project" - - run: "gradle build --warning-mode=fail -p 09_Centralizing_Dependency_Versions/B_Platform_Project/my-project" - - run: "gradle build --warning-mode=fail -p 09_Centralizing_Dependency_Versions/C_Version_Catalog/my-project" - - run: "gradle build --warning-mode=fail -p 09_Centralizing_Dependency_Versions/D_Dependency_Locking/my-project" - - run: "gradle build --warning-mode=fail -p 10_Dependency_Version_Conflicts/my-project" - - run: "gradle build --warning-mode=fail -p 11_Capability_Conflicts/my-project" - - run: "gradle build --warning-mode=fail -p 12_Publishing_Libraries/my-project" - - run: "gradle build --warning-mode=fail -p 13_Aggregating_Custom_Artifacts/my-project" - - run: "gradle build --warning-mode=fail -p 14_Settings_Plugins/my-project" - - run: "gradle build --warning-mode=fail -p 16_Source_Sets/my-project" - - run: "gradle build --warning-mode=fail -p 16_Source_Sets/my-android-project" - - run: "gradle build --warning-mode=fail -p 16_Source_Sets/my-kotlin-multi-platform-project" - - run: "gradle build --warning-mode=fail -p 17_Feature_Variants/my-project" - - run: "gradle build --warning-mode=fail -p 18_Configuring_Testing/my-project" - - run: "gradle build --warning-mode=fail -p 19_The_Test_Task/my-project" - - run: "gradle build --warning-mode=fail -p 20_Test_Fixtures/my-project" - - run: "gradle build --warning-mode=all -p 21_Test_and_Code_Coverage_Reporting/my-project" - - run: "gradle build --warning-mode=fail -p 22_The_JavaCompile_Task/my-project" - - run: "gradle build --warning-mode=fail -p 23_Caching/my-project" - - run: "gradle build --warning-mode=fail -p 24_Kotlin_DSL_and_Groovy_DSL/my-project" - - run: "gradle build --warning-mode=fail -p 25_Using_Java_to_configure_builds/my-project" - - run: "gradle run --warning-mode=fail -p 26_The_Classpath/my-project" - - run: "gradle run --warning-mode=fail -p 27_Multiple_Compile_Classpaths/my-project" - - run: "gradle run --warning-mode=all -p 28_Dependency_Analysis_Plugin/my-project" - - run: "gradle run --warning-mode=fail -p 29_Classpath_Collisions/my-project" - - run: "gradle run --warning-mode=fail -p 30_Security_Vulnerabilities/my-project" - - run: "gradle run --warning-mode=fail -p 31_The_Module_Path/my-project" - - run: "gradle build --warning-mode=fail -p 32_Artifact_Transforms/my-project" - - run: "gradle build --warning-mode=fail -p 33_Classpath_and_Module_Path_in_Testing/my-project" - - run: "gradle build --warning-mode=fail -p 34_Properties_and_Providers/my-project" \ No newline at end of file + gradle-version: 8.6-20231104002619+0000 + - 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=all -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=all -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" \ No newline at end of file diff --git a/19_The_Test_Task/my-build-logic/settings.gradle.kts b/19_The_Test_Task/my-build-logic/settings.gradle.kts index c3af579..a0a7f16 100644 --- a/19_The_Test_Task/my-build-logic/settings.gradle.kts +++ b/19_The_Test_Task/my-build-logic/settings.gradle.kts @@ -4,5 +4,3 @@ dependencyResolutionManagement { include("structure-plugins") include("java-plugins") -include("android-plugins") -include("kotlin-plugins") diff --git a/20_Test_Fixtures/my-build-logic/settings.gradle.kts b/20_Test_Fixtures/my-build-logic/settings.gradle.kts index c3af579..a0a7f16 100644 --- a/20_Test_Fixtures/my-build-logic/settings.gradle.kts +++ b/20_Test_Fixtures/my-build-logic/settings.gradle.kts @@ -4,5 +4,3 @@ dependencyResolutionManagement { include("structure-plugins") include("java-plugins") -include("android-plugins") -include("kotlin-plugins") diff --git a/31_The_Module_Path/my-build-logic/java-plugins/build.gradle.kts b/31_The_Module_Path/my-build-logic/java-plugins/build.gradle.kts index 6ccbd7e..2725fdc 100644 --- a/31_The_Module_Path/my-build-logic/java-plugins/build.gradle.kts +++ b/31_The_Module_Path/my-build-logic/java-plugins/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("org.gradlex:java-module-dependencies:1.2") + implementation("org.gradlex:java-module-dependencies:1.4.2") } diff --git a/33_Classpath_and_Module_Path_in_Testing/my-build-logic/java-plugins/build.gradle.kts b/33_Classpath_and_Module_Path_in_Testing/my-build-logic/java-plugins/build.gradle.kts index fc890f3..ac3ef45 100644 --- a/33_Classpath_and_Module_Path_in_Testing/my-build-logic/java-plugins/build.gradle.kts +++ b/33_Classpath_and_Module_Path_in_Testing/my-build-logic/java-plugins/build.gradle.kts @@ -5,5 +5,5 @@ plugins { dependencies { implementation("io.fuchs.gradle.classpath-collision-detector:classpath-collision-detector:0.3") implementation("org.gradlex:java-ecosystem-capabilities:1.3.1") - implementation("org.gradlex:java-module-testing:1.2") + implementation("org.gradlex:java-module-testing:1.2.2") }