30 lines
1.1 KiB
Groovy
30 lines
1.1 KiB
Groovy
apply from: "$rootProject.projectDir/gradle/distributableGhidraModule.gradle"
|
|
apply from: "$rootProject.projectDir/gradle/javaProject.gradle"
|
|
apply from: "$rootProject.projectDir/gradle/jacocoProject.gradle"
|
|
apply from: "$rootProject.projectDir/gradle/javaTestProject.gradle"
|
|
apply plugin: 'eclipse'
|
|
|
|
eclipse.project.name = 'Framework Docking'
|
|
|
|
dependencies {
|
|
compile project(':Generic')
|
|
compile 'net.java.dev.timingframework:timingframework:1.0'
|
|
|
|
// Only include this debug version of the jh library if necessary.
|
|
//compile name:'jh2.with.debug'
|
|
compile 'javax.help:javahelp:2.0.05'
|
|
|
|
|
|
// include code from src/test in Generic
|
|
testCompile project(path: ':Generic', configuration: 'testArtifacts')
|
|
compileOnly "junit:junit:4.12"
|
|
}
|
|
|
|
// For Java 9, we must explicitly export references to the internal classes we are using.
|
|
// We export them to all "unnamed" modules, which are modules that don't define themselves
|
|
// as a new Java 9 style module. Ghidra is currently using unnamed modules everywhere.
|
|
ext.addExports([
|
|
'java.desktop/sun.awt=ALL-UNNAMED',
|
|
'java.desktop/sun.awt.image=ALL-UNNAMED'
|
|
])
|