Open
Description
Attempting to build this with gradle 7.0 on Mac (I'm a gradle novice, so I seem to be in the target population for this sample...) I got the failure:
>XX javaparser-gradle-sample % gradle --warning-mode all shadowJar
> Configure project :
The testCompile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the testImplementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.8/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
at build_dsnwk311xnn9kogym6xt0jtx$_run_closure2.doCall(/Users/mike/GitHub/javaparser-gradle-sample/build.gradle:24)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.version property has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use the archiveVersion property instead. See https://docs.gradle.org/6.8/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:version for more details.
at build_dsnwk311xnn9kogym6xt0jtx$_run_closure4$_closure6.doCall(/Users/mike/GitHub/javaparser-gradle-sample/build.gradle:47)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
I got rid of the first error by changing testCompile
to testImplementation
, but I didn't understand the second error.
Metadata
Metadata
Assignees
Labels
No labels