Commit 78370bf
authored
Fix Gradle deprecated warning (#316)
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/runner/work/exercism-java-analyzer/exercism-java-analyzer/build.gradle': line 38
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_do7k9p1y1xiza2diu02pda9w5$_run_closure5.doCall$original(/home/runner/work/exercism-java-analyzer/exercism-java-analyzer/build.gradle:38)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
```1 parent f043d85 commit 78370bf
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments