Skip to content

Commit 320c246

Browse files
committed
Add nashorn on Java 15+
1 parent 96fdae4 commit 320c246

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: build.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ apply plugin: 'java-library'
1515

1616
dependencies {
1717
testImplementation 'junit:junit:4.13.2'
18+
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_15)) {
19+
testImplementation 'org.openjdk.nashorn:nashorn-core:15.4'
20+
}
1821
}
1922

2023
apply from: 干.file('base/maven.gradle')

0 commit comments

Comments
 (0)