mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
45 lines
1.7 KiB
Groovy
45 lines
1.7 KiB
Groovy
/* ###
|
|
* IP: GHIDRA
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
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 from: "$rootProject.projectDir/gradle/javadoc.gradle"
|
|
apply plugin: 'eclipse'
|
|
|
|
eclipse.project.name = 'Framework Docking'
|
|
|
|
dependencies {
|
|
api project(':Generic')
|
|
api 'net.java.dev.timingframework:timingframework:1.0'
|
|
|
|
// Only include this debug version of the jh library if necessary.
|
|
//api name:'jh2.with.debug'
|
|
api 'javax.help:javahelp:2.0.05'
|
|
|
|
|
|
// include code from src/test in Generic
|
|
testImplementation 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'
|
|
])
|