Skip to content

Commit a21a108

Browse files
authored
Fix deprecated Gradle features warning (#3086)
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.
1 parent ffa351e commit a21a108

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

exercises/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ subprojects {
7878

7979
// configuration of the linter
8080
checkstyle {
81-
toolVersion '10.7.0'
82-
configFile file("$rootDir/checkstyle.xml")
81+
toolVersion = '10.7.0'
82+
configFile = file("$rootDir/checkstyle.xml")
8383
sourceSets = [project.sourceSets.main, project.sourceSets.test]
8484
}
8585

0 commit comments

Comments
 (0)