Skip to content

Ghidra is a software reverse engineering (SRE) framework

2.3 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.
 */
apply from: "$rootProject.projectDir/gradle/distributableGhidraModule.gradle"
apply from: "$rootProject.projectDir/gradle/javaProject.gradle"
apply from: "$rootProject.projectDir/gradle/helpProject.gradle"
apply from: "$rootProject.projectDir/gradle/jacocoProject.gradle"
apply from: "$rootProject.projectDir/gradle/javaTestProject.gradle"
apply from: "$rootProject.projectDir/gradle/nativeProject.gradle"
apply from: "buildNatives.gradle"
apply plugin: 'eclipse'

eclipse.project.name = 'Features FileFormats'

dependencies {

	api project(':Base')
	api project(':Recognizers')
	api project(':PDB')

	// Used by "Android DEX to JAR" file system
	api 'de.femtopedia.dex2jar:dex-ir:2.4.24'
	api 'de.femtopedia.dex2jar:dex-reader:2.4.24'
	api 'de.femtopedia.dex2jar:dex-reader-api:2.4.24'
	api 'de.femtopedia.dex2jar:dex-translator:2.4.24'

	// Transitive dependencies of dex2jar
	api 'org.ow2.asm:asm:9.11.1'
	api 'org.ow2.asm:asm-analysis:9.11.1'
	api 'org.ow2.asm:asm-commons:9.11.1'
	api 'org.ow2.asm:asm-tree:9.11.1'
	api 'org.ow2.asm:asm-util:9.11.1'

	// Used by "Android DEX to SMALI" file system
	api 'org.smali:baksmali:2.5.2' // requires guava-27.1-android or later
	api 'org.smali:dexlib2:2.5.2'  // requires guava-27.1-android or later
	api 'org.smali:util:2.5.2'     // requires guava-27.1-android or later

	// Used by "Android XML" file system
	api ':AXMLPrinter2'

	// Used by Zip file system
	api 'net.lingala.zip4j:zip4j:2.11.6'
	
	// include code from src/test/slow in Base
	testImplementation project(path: ':Base', configuration: 'integrationTestArtifacts')	
}

// Include buildable native source in distribution
rootProject.assembleDistribution {
	from (this.project.projectDir.toString()) {
		include "src/lzfse/**"
		into  { rootProject.getZipPath(this.project) }
	}
}