From d285295c613edbc52353c93ddb7ede41ee4d8b27 Mon Sep 17 00:00:00 2001 From: Louis Jacomet Date: Thu, 1 Dec 2022 15:07:57 +0100 Subject: [PATCH] Reproduce the compile error with Gradle 7.5.1 Instead of using `java-gradle-plugin` and `gradleApi()`, the build uses external dependencies. This allows to show that the change of behaviour comes from the upgrade of Groovy from version 3.0.10 to 3.0.13. --- build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index a2992f5..18e7d6f 100644 --- a/build.gradle +++ b/build.gradle @@ -1,15 +1,17 @@ plugins { id 'groovy' - id 'java-gradle-plugin' +// id 'java-gradle-plugin' } repositories { google() mavenCentral() + maven { url = uri('https://repo.nokee.dev/release') } } dependencies { implementation ("com.android.tools.build:gradle:7.0.4") implementation("com.android.tools:common:30.0.4") - implementation gradleApi() + implementation("dev.gradleplugins:gradle-api:7.5.1") + implementation("org.codehaus.groovy:groovy:3.0.13") }