@@ -6,27 +6,27 @@ import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
6
6
// Extend compile to copy the jars from gradle-tooling and slf4j:
7
7
// https://stackoverflow.com/a/43602463
8
8
configurations {
9
- compile . extendsFrom compileAndCopy
10
- compile . extendsFrom compileAndExtract
9
+ implementation . extendsFrom implementationCopy
10
+ implementation . extendsFrom implementationExtract
11
11
}
12
12
13
13
dependencies {
14
- compile group : " org.processing" , name : " core" , version : " ${ processingVersion} "
15
- compile group : " org.processing" , name : " pde" , version : " ${ processingVersion} "
16
- compile group : " org.processing" , name : " java-mode" , version : " ${ processingVersion} "
14
+ implementation group : " org.processing" , name : " core" , version : " ${ processingVersion} "
15
+ implementation group : " org.processing" , name : " pde" , version : " ${ processingVersion} "
16
+ implementation group : " org.processing" , name : " java-mode" , version : " ${ processingVersion} "
17
17
18
- compileAndExtract " org.eclipse.jdt:org.eclipse.jdt.debug:${ jdtVersion} "
18
+ implementationExtract " org.eclipse.jdt:org.eclipse.jdt.debug:${ jdtVersion} "
19
19
20
- compileAndCopy " org.gradle:gradle-tooling-api:${ toolingVersion} "
21
- compileAndCopy " org.slf4j:slf4j-api:${ slf4jVersion} "
22
- compileAndCopy " org.slf4j:slf4j-simple:${ slf4jVersion} "
20
+ implementationCopy " org.gradle:gradle-tooling-api:${ toolingVersion} "
21
+ implementationCopy " org.slf4j:slf4j-api:${ slf4jVersion} "
22
+ implementationCopy " org.slf4j:slf4j-simple:${ slf4jVersion} "
23
23
24
- compile fileTree(include : [" jdi.jar" , " jdimodel.jar" ], dir : ' mode' )
24
+ implementation fileTree(include : [" jdi.jar" , " jdimodel.jar" ], dir : ' mode' )
25
25
}
26
26
27
27
// This task copies the gradle tooling jar into the mode folder
28
28
task copyToLib (type : Copy ) {
29
- from configurations. compileAndCopy . files
29
+ from configurations. implementationCopy . files
30
30
into " mode"
31
31
}
32
32
build. dependsOn(copyToLib)
@@ -42,7 +42,7 @@ sourceSets {
42
42
task getjdi (type : Copy ) {
43
43
// This task extracts the jar files inside org.eclipse.jdt.debug, which are
44
44
// jdi.jar and jdimodel.jar and needed to build the debugger.
45
- from(zipTree(configurations. compileAndExtract . files[0 ])) {
45
+ from(zipTree(configurations. implementationExtract . files[0 ])) {
46
46
include ' **/*.jar'
47
47
exclude ' META-INF'
48
48
}
0 commit comments