-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathbuild.gradle
More file actions
34 lines (27 loc) · 1.02 KB
/
build.gradle
File metadata and controls
34 lines (27 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import org.gradle.plugins.ide.eclipse.model.AccessRule
plugins {
id 'java'
id 'eclipse'
}
dependencies {
compile project(':refdiff-core')
// compile 'com.eclipsesource.j2v8:j2v8_win32_x86_64:4.6.0'
compile 'com.eclipsesource.j2v8:j2v8_linux_x86_64:4.8.0'
// compile 'com.eclipsesource.j2v8:j2v8_macosx_x86_64:4.6.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
compile 'com.fasterxml.jackson.core:jackson-core:2.8.9'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.9'
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.9'
testCompile 'junit:junit:4.11'
testCompile project(path: ':refdiff-core', configuration: 'testArtifacts')
}
eclipse {
classpath {
file {
whenMerged {
def jre = entries.find { it.path.contains 'org.eclipse.jdt.launching.JRE_CONTAINER' }
jre.accessRules.add(new AccessRule('accessible', 'jdk/nashorn/api/**'))
}
}
}
}