Skip to content

Ghidra is a software reverse engineering (SRE) framework

2.4 KB
Raw Blame
/* ###
 * 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.
 */
import org.gradle.plugins.ide.eclipse.model.Container;

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 Generic'

dependencies {
	api project(':Utility')
	api ("com.google.guava:guava:32.1.3-jre") {
		exclude group: 'com.google.guava', module: 'listenablefuture'
		exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
		exclude group: 'com.google.code.findbugs', module: 'jsr305'
		exclude group: 'org.checkerframework', module: 'checker-qual'
	}
	api "com.google.guava:failureaccess:1.0.1"
	api "org.jdom:jdom2:2.0.6.1"
	api "org.apache.logging.log4j:log4j-api:2.26.1"
	api "org.apache.logging.log4j:log4j-core:2.26.1"
	api "org.apache.commons:commons-collections4:4.6.0"
	api "org.apache.commons:commons-compress:1.27.1" // requires commons-codec
	api "commons-codec:commons-codec:1.18.0"
	api "org.apache.commons:commons-lang3:3.20.0"
	api "org.apache.commons:commons-text:1.10.0"
	api "commons-io:commons-io:2.19.0"	
	api ("com.google.code.gson:gson:2.13.2") {
		exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
	}
	api "org.bouncycastle:bcpkix-jdk18on:1.86" // requires bcutil and bcprov
	api "org.bouncycastle:bcprov-jdk18on:1.86"
	api "org.bouncycastle:bcutil-jdk18on:1.86"

	compileOnly "junit:junit:4.13.2"
	compileOnly "org.hamcrest:hamcrest:2.2"

	constraints {
		api("com.google.guava:guava") {
			attributes {
				attribute(TargetJvmEnvironment.TARGET_JVM_ENVIRONMENT_ATTRIBUTE, objects.named(TargetJvmEnvironment, TargetJvmEnvironment.STANDARD_JVM))
			}
		}
	}
}