Skip to content

Commit da4414d

Browse files
committed
Replace deprecated feature
1 parent aea4e89 commit da4414d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
group 'com.github.mrsarm'
9-
version '1.2.0-RC1'
9+
version '1.2.0-RC2'
1010

1111
sourceCompatibility = 9
1212
targetCompatibility = 9

src/main/groovy/com/github/mrsarm/jshell/plugin/JShellPlugin.groovy

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ class JShellPlugin implements Plugin<Project> {
5757
jshellTask.logger.info(":jshell couldn't find the classpath, adding " +
5858
'the following paths from project sourceSets: {}', classesPaths)
5959
pathSet.addAll(classesPaths)
60-
List<String> depsPaths = project.configurations.default.collect { it.getPath() }
60+
List<String> depsPaths = project.configurations.compileClasspath.collect { it.getPath() }
61+
depsPaths.addAll(project.configurations.runtimeClasspath.collect { it.getPath() })
6162
jshellTask.logger.info(":jshell couldn't find the dependencies' classpath, adding " +
6263
'the following paths from project configurations: {}', depsPaths)
6364
pathSet.addAll(depsPaths)

0 commit comments

Comments
 (0)