From 3d1f2960fa49be6b20c0a449fa54b3336cc34136 Mon Sep 17 00:00:00 2001 From: Kah Goh Date: Mon, 2 Feb 2026 04:29:05 +0000 Subject: [PATCH] Fix deprecated Gradle features warning This change fixes the following warning from the CI builds: Deprecated Gradle features were used in this build, making it incompatible with Gradle 10. When warnings was turned on, Gradle was reporting: Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated.`:81` This is scheduled to be removed in Gradle 10. Properties should be assigned using the 'propName = value' syntax. Setting a property via the Gradle-generated 'propName value' or 'propName(value)' syntax in Groovy DSL has been deprecated.`:82` This is scheduled to be removed in Gradle 10. --- exercises/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/build.gradle b/exercises/build.gradle index c35dc4fc1..fbadb5369 100644 --- a/exercises/build.gradle +++ b/exercises/build.gradle @@ -78,8 +78,8 @@ subprojects { // configuration of the linter checkstyle { - toolVersion '10.7.0' - configFile file("$rootDir/checkstyle.xml") + toolVersion = '10.7.0' + configFile = file("$rootDir/checkstyle.xml") sourceSets = [project.sourceSets.main, project.sourceSets.test] }