Skip to content

Conversation

@kahgoh
Copy link
Member

@kahgoh kahgoh commented Feb 2, 2026

This fixes the following Gradle warning:

Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

The exact error causing this:

> Configure project :
Build file '/home/kah/workspace/exercism-java-representer/build.gradle': line 54
The archives configuration has been deprecated for artifact declaration. This will fail with an error in Gradle 10. Add artifacts as direct task dependencies of the 'assemble' task instead of declaring them in the archives configuration. Consult the upgrading guide for further information: https://docs.gradle.org/9.3.1/userguide/upgrading_version_9.html#sec:archives-configuration
        at build_65yhn6i09o9jce2intpqx5ncl$_run_closure6.doCall$original(/home/kah/workspace/exercism-java-representer/build.gradle:54)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)

This fixes the following Gradle warning:

```
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/9.1.0/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
```

The exact error causing this:

```
> Configure project :
Build file '/home/kah/workspace/exercism-java-representer/build.gradle': line 54
The archives configuration has been deprecated for artifact declaration. This will fail with an error in Gradle 10. Add artifacts as direct task dependencies of the 'assemble' task instead of declaring them in the archives configuration. Consult the upgrading guide for further information: https://docs.gradle.org/9.3.1/userguide/upgrading_version_9.html#sec:archives-configuration
        at build_65yhn6i09o9jce2intpqx5ncl$_run_closure6.doCall$original(/home/kah/workspace/exercism-java-representer/build.gradle:54)
        (Run with --stacktrace to get the full stack trace of this deprecation warning.)
```
@kahgoh kahgoh requested a review from a team as a code owner February 2, 2026 11:41
@coveralls
Copy link

Pull Request Test Coverage Report for Build 21588684330

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.511%

Totals Coverage Status
Change from base Build 21586859344: 0.0%
Covered Lines: 140
Relevant Lines: 162

💛 - Coveralls

@kahgoh kahgoh merged commit c48579e into exercism:main Feb 2, 2026
3 checks passed
@kahgoh kahgoh deleted the fix/deprecated-gradle branch February 2, 2026 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants