mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-10-29 06:07:31 +08:00
Formats refactored: zip - apache commons compress + zip4j 7z - apache commons compress bzip2 - apache commons compress cabarc - 7z cli tool xz - apache commons compress Formats now unsupported: hfsplus iso9660 ms wim arj chm deb lha rar rpm vhd z
64 lines
2.2 KiB
Groovy
64 lines
2.2 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/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
|
|
// dex2jar depends on asm-9.7.1, which is declared in Framework/Emulation
|
|
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'
|
|
|
|
// 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 { getZipPath(this.project) }
|
|
}
|
|
}
|
|
|
|
|