From 79bb5d856215271b7bc56f2f32b65c8ecdee1d29 Mon Sep 17 00:00:00 2001 From: Jendrik Johannes Date: Mon, 2 Oct 2023 10:25:35 +0200 Subject: [PATCH] Gradle 8.4-rc-3 --- .github/workflows/build.yaml | 4 ++-- .../my-build-logic/android-plugins/build.gradle.kts | 2 +- .../java-plugins/src/main/kotlin/my-java-base.gradle.kts | 4 ++-- 16_Source_Sets/my-build-logic/kotlin-plugins/build.gradle.kts | 2 +- .../my-build-logic/java-plugins/build.gradle.kts | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 3eaf438..e89c947 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: - name: Set up Gradle uses: gradle/gradle-build-action@v2.5.1 with: - gradle-version: 8.2.1 + gradle-version: 8.4-rc-3 - 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" @@ -39,7 +39,7 @@ jobs: - 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=fail -p 21_Test_and_Code_Coverage_Reporting/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" diff --git a/16_Source_Sets/my-build-logic/android-plugins/build.gradle.kts b/16_Source_Sets/my-build-logic/android-plugins/build.gradle.kts index 763fd12..191673c 100644 --- a/16_Source_Sets/my-build-logic/android-plugins/build.gradle.kts +++ b/16_Source_Sets/my-build-logic/android-plugins/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("com.android.tools.build:gradle:8.0.0") + implementation("com.android.tools.build:gradle:8.2.0-beta06") } \ No newline at end of file diff --git a/16_Source_Sets/my-build-logic/java-plugins/src/main/kotlin/my-java-base.gradle.kts b/16_Source_Sets/my-build-logic/java-plugins/src/main/kotlin/my-java-base.gradle.kts index 30ba4ea..5bcdba8 100644 --- a/16_Source_Sets/my-build-logic/java-plugins/src/main/kotlin/my-java-base.gradle.kts +++ b/16_Source_Sets/my-build-logic/java-plugins/src/main/kotlin/my-java-base.gradle.kts @@ -1,5 +1,5 @@ import java.nio.file.Files -import org.gradle.api.plugins.jvm.internal.JvmEcosystemUtilities +import org.gradle.api.plugins.jvm.internal.JvmLanguageUtilities import org.gradle.kotlin.dsl.support.serviceOf plugins { @@ -25,7 +25,7 @@ tasks.register(extraFeature.jarTaskName) { archiveClassifier.set("extra-feature") } -val jvm = serviceOf() +val jvm = serviceOf() // if this does not compile, use 'serviceOf()' jvm.registerJvmLanguageSourceDirectory(sourceSets.main.get(), "java17") { compiledWithJava { javaCompiler.set(javaToolchains.compilerFor { diff --git a/16_Source_Sets/my-build-logic/kotlin-plugins/build.gradle.kts b/16_Source_Sets/my-build-logic/kotlin-plugins/build.gradle.kts index 0d16800..b34d438 100644 --- a/16_Source_Sets/my-build-logic/kotlin-plugins/build.gradle.kts +++ b/16_Source_Sets/my-build-logic/kotlin-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.20-Beta2") } \ No newline at end of file diff --git a/28_Dependency_Analysis_Plugin/my-build-logic/java-plugins/build.gradle.kts b/28_Dependency_Analysis_Plugin/my-build-logic/java-plugins/build.gradle.kts index a8277c2..f814546 100644 --- a/28_Dependency_Analysis_Plugin/my-build-logic/java-plugins/build.gradle.kts +++ b/28_Dependency_Analysis_Plugin/my-build-logic/java-plugins/build.gradle.kts @@ -3,5 +3,5 @@ plugins { } dependencies { - implementation("com.autonomousapps:dependency-analysis-gradle-plugin:1.20.0") + implementation("com.autonomousapps:dependency-analysis-gradle-plugin:1.24.0") }