Many thanks Scott, problem solved with your suggestion.
Valerio Mezzalira.
Il 01/06/2021 16:00, Scott Palmer ha scritto:
Replace the (deprecated) ‘compile’ with ‘implementation’
On Jun 1, 2021, at 4:40 AM, [email protected]
<mailto:[email protected]> <[email protected]
<mailto:[email protected]>> wrote:
Hi to All,
I went from Gradle 6.5 to 6.8 to 6.9 with no problems with a very
small project.
With Gradle 7 (all 7s) Netbeans 12.2 and 12.4, openjdk 15.0.2, the
same project gives me this problem:
<nngfkgkjcipkiggd.png>
With Gradle 7, the syntax to add a local .jar file is the same ?
The project foresees a local .jar. With Gradle 6.x it was possible to
set in the classpath in the following way:
================Gradle params:
apply plugin: 'java'
apply plugin: 'jacoco'
apply plugin: 'application'
repositories {
mavenCentral ()
}
dependencies {
testImplementation 'junit: junit: 4.13'*
****compile files('../tco_lib/dist/tco_lib.jar')*
}
================End Gradle params.
Thanks in advance if anyone can give me a tip,
Valerio