mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-02-05 19:15:12 +08:00
GP-849: Gradle 7 support
This commit is contained in:
@@ -34,8 +34,8 @@ You may not need all of these, depending on which portions you are building or d
|
||||
- https://adoptopenjdk.net/releases.html?variant=openjdk11&jvmVariant=hotspot
|
||||
- Amazon Corretto
|
||||
- https://docs.aws.amazon.com/corretto/latest/corretto-11-ug/downloads-list.html
|
||||
* Gradle 5.x or 6.x - We use version 5.0, and have tested with up to 6.8.3.
|
||||
- https://gradle.org/next-steps/?version=5.0&format=bin
|
||||
* Gradle 6.0 or later - We use version 6.9, and tested with up to 7.0.1.
|
||||
- https://gradle.org/releases/
|
||||
* A C/C++ compiler - We use GCC on Linux, Xcode (Clang) on macOS, and Visual Studio (2017 or later) on Windows.
|
||||
- https://gcc.gnu.org/
|
||||
- https://developer.apple.com/xcode/
|
||||
|
||||
@@ -16,7 +16,7 @@ if (findProject(':Generic') != null) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
apply plugin: 'java'
|
||||
apply plugin: 'java-library'
|
||||
}
|
||||
apply plugin: 'eclipse'
|
||||
|
||||
@@ -39,16 +39,14 @@ sourceSets {
|
||||
}
|
||||
}
|
||||
|
||||
eclipse.classpath.plusConfigurations += [configurations.dmgCompile]
|
||||
|
||||
repositories {
|
||||
flatDir name: "flat", dirs:["data/lib"]
|
||||
}
|
||||
|
||||
dependencies {
|
||||
dmgCompile ':csframework@jar'
|
||||
dmgCompile ':hfsx@jar'
|
||||
dmgCompile ':hfsx_dmglib@jar'
|
||||
dmgImplementation ':csframework@jar'
|
||||
dmgImplementation ':hfsx@jar'
|
||||
dmgImplementation ':hfsx_dmglib@jar'
|
||||
}
|
||||
|
||||
/***************************************************************************************
|
||||
@@ -58,6 +56,6 @@ dependencies {
|
||||
***************************************************************************************/
|
||||
|
||||
jar {
|
||||
destinationDir = file("build/data/lib")
|
||||
destinationDirectory = file("build/data/lib")
|
||||
from sourceSets.dmg.output
|
||||
}
|
||||
|
||||
@@ -60,8 +60,8 @@ task zipBuildableSource(type:Zip) {
|
||||
|
||||
group 'private'
|
||||
description "Collects the source files needed to build this module."
|
||||
baseName project.name + "-src-for-build"
|
||||
extension 'zip'
|
||||
archiveBaseName = project.name + "-src-for-build"
|
||||
archiveExtension = 'zip'
|
||||
|
||||
//
|
||||
// Version 2.33.1
|
||||
|
||||
@@ -22,7 +22,7 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug AnnotationValidator'
|
||||
|
||||
dependencies {
|
||||
compile project(':ProposedUtils')
|
||||
api project(':ProposedUtils')
|
||||
}
|
||||
|
||||
// no-dep jar for experiments in loading annotation processor into Eclipse
|
||||
|
||||
@@ -23,14 +23,16 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Debugger-agent-dbgeng'
|
||||
|
||||
dependencies {
|
||||
compile project(":Framework-AsyncComm")
|
||||
compile project(":Framework-Debugging")
|
||||
compile project(":Debugger-gadp")
|
||||
compile "net.java.dev.jna:jna:5.4.0"
|
||||
compile "net.java.dev.jna:jna-platform:5.4.0"
|
||||
api project(":Framework-AsyncComm")
|
||||
api project(":Framework-Debugging")
|
||||
api project(":Debugger-gadp")
|
||||
api "net.java.dev.jna:jna:5.4.0"
|
||||
api "net.java.dev.jna:jna-platform:5.4.0"
|
||||
|
||||
//testCompile project(":Base")
|
||||
testCompile project(path: ":Debugger-gadp", configuration: 'testArtifacts')
|
||||
//testImplementation project(":Base")
|
||||
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ":Debugger-gadp", configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
def boolean filterJar(File jarfile) {
|
||||
@@ -52,7 +54,7 @@ jar {
|
||||
|
||||
task configureNodepJar {
|
||||
doLast {
|
||||
configurations.runtime.files.forEach {
|
||||
configurations.runtimeOnly.files.forEach {
|
||||
if (filterJar(it)) {
|
||||
nodepJar.from(zipTree(it))
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Debugger-agent-dbgmodel-traceloader'
|
||||
|
||||
dependencies {
|
||||
compile project(":Debugger")
|
||||
compile project(":Debugger-agent-dbgeng")
|
||||
compile project(':Debugger-agent-dbgmodel')
|
||||
api project(":Debugger")
|
||||
api project(":Debugger-agent-dbgeng")
|
||||
api project(':Debugger-agent-dbgmodel')
|
||||
}
|
||||
|
||||
@@ -23,9 +23,12 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Debugger-agent-dbgmodel'
|
||||
|
||||
dependencies {
|
||||
compile project(":Debugger-agent-dbgeng")
|
||||
api project(":Debugger-agent-dbgeng")
|
||||
|
||||
testCompile project(path: ":Debugger-agent-dbgeng", configuration: 'testArtifacts')
|
||||
testImplementation project(path: ":Debugger-agent-dbgeng", configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ":Debugger-gadp", configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
def boolean filterJar(File jarfile) {
|
||||
@@ -47,7 +50,7 @@ jar {
|
||||
|
||||
task configureNodepJar {
|
||||
doLast {
|
||||
configurations.runtime.files.forEach {
|
||||
configurations.runtimeOnly.files.forEach {
|
||||
if (filterJar(it)) {
|
||||
nodepJar.from(zipTree(it))
|
||||
}
|
||||
|
||||
@@ -23,12 +23,14 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Debugger-agent-gdb'
|
||||
|
||||
dependencies {
|
||||
compile project(':Framework-AsyncComm')
|
||||
compile project(':Framework-Debugging')
|
||||
compile project(':Debugger-gadp')
|
||||
compile 'org.python:jython-standalone:2.7.1'
|
||||
api project(':Framework-AsyncComm')
|
||||
api project(':Framework-Debugging')
|
||||
api project(':Debugger-gadp')
|
||||
api 'org.python:jython-standalone:2.7.1'
|
||||
|
||||
testCompile project(path: ':Debugger-gadp', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Debugger-gadp', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
def boolean filterJar(File jarfile) {
|
||||
@@ -50,7 +52,7 @@ jar {
|
||||
|
||||
task configureNodepJar {
|
||||
doLast {
|
||||
configurations.runtime.files.forEach {
|
||||
configurations.runtimeOnly.files.forEach {
|
||||
if (filterJar(it)) {
|
||||
nodepJar.from(zipTree(it))
|
||||
}
|
||||
|
||||
@@ -47,12 +47,13 @@ dependencies {
|
||||
protocArtifact 'com.google.protobuf:protoc:3.11.1:osx-x86_64@exe'
|
||||
}
|
||||
|
||||
compile 'com.google.protobuf:protobuf-java:3.11.1'
|
||||
compile project(':Framework-AsyncComm')
|
||||
compile project(':Framework-Debugging')
|
||||
compile project(':ProposedUtils')
|
||||
api 'com.google.protobuf:protobuf-java:3.11.1'
|
||||
api project(':Framework-AsyncComm')
|
||||
api project(':Framework-Debugging')
|
||||
api project(':ProposedUtils')
|
||||
|
||||
testCompile project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
/*protobuf {
|
||||
|
||||
@@ -22,9 +22,10 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Debugger-jpda'
|
||||
|
||||
dependencies {
|
||||
compile project(':Framework-AsyncComm')
|
||||
compile project(':Framework-Debugging')
|
||||
compile project(':ProposedUtils')
|
||||
api project(':Framework-AsyncComm')
|
||||
api project(':Framework-Debugging')
|
||||
api project(':ProposedUtils')
|
||||
|
||||
testCompile project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
@@ -23,15 +23,16 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Debugger'
|
||||
|
||||
dependencies {
|
||||
compile project(':Framework-AsyncComm')
|
||||
compile project(':Framework-Debugging')
|
||||
compile project(':Framework-TraceModeling')
|
||||
compile project(':Base')
|
||||
compile project(':ByteViewer')
|
||||
compile project(':ProposedUtils')
|
||||
api project(':Framework-AsyncComm')
|
||||
api project(':Framework-Debugging')
|
||||
api project(':Framework-TraceModeling')
|
||||
api project(':Base')
|
||||
api project(':ByteViewer')
|
||||
api project(':ProposedUtils')
|
||||
|
||||
helpPath project(path: ':Base', configuration: 'helpPath')
|
||||
|
||||
testCompile project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
testCompile project(path: ':Framework-TraceModeling', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-TraceModeling', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
@@ -22,9 +22,9 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Framework-AsyncComm'
|
||||
|
||||
dependencies {
|
||||
compile project(':Generic')
|
||||
compile project(':Graph')
|
||||
compile project(':ProposedUtils')
|
||||
api project(':Generic')
|
||||
api project(':Graph')
|
||||
api project(':ProposedUtils')
|
||||
}
|
||||
|
||||
task genTestPy(type: JavaExec) {
|
||||
|
||||
@@ -23,12 +23,12 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Framework-Debugging'
|
||||
|
||||
dependencies {
|
||||
compile project(':Framework-AsyncComm')
|
||||
compile project(':Generic')
|
||||
compile project(':SoftwareModeling')
|
||||
compile project(':ProposedUtils')
|
||||
api project(':Framework-AsyncComm')
|
||||
api project(':Generic')
|
||||
api project(':SoftwareModeling')
|
||||
api project(':ProposedUtils')
|
||||
|
||||
testCompile project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
task testSpecimenWin64 {
|
||||
|
||||
@@ -22,11 +22,11 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Debug Framework-TraceModeling'
|
||||
|
||||
dependencies {
|
||||
compile project(':Generic')
|
||||
compile project(':SoftwareModeling')
|
||||
compile project(':ProposedUtils')
|
||||
api project(':Generic')
|
||||
api project(':SoftwareModeling')
|
||||
api project(':ProposedUtils')
|
||||
annotationProcessor project(':AnnotationValidator')
|
||||
|
||||
testCompile project(':Base')
|
||||
testRuntime project(':ARM') // For its emulator state modifier
|
||||
testImplementation project(':Base')
|
||||
testRuntimeOnly project(':ARM') // For its emulator state modifier
|
||||
}
|
||||
|
||||
@@ -24,16 +24,16 @@ eclipse.project.name = 'Debug ProposedUtils'
|
||||
// val autoServiceVersion = "1.0-rc5"
|
||||
|
||||
dependencies {
|
||||
compile project(':DB')
|
||||
compile project(':Project')
|
||||
compile project(':SoftwareModeling')
|
||||
compile project(':Utility')
|
||||
api project(':DB')
|
||||
api project(':Project')
|
||||
api project(':SoftwareModeling')
|
||||
api project(':Utility')
|
||||
|
||||
compile project(':Base') // Boo!: (Where to put DefaultEnumeratedColumnProgramTableModel?)
|
||||
api project(':Base') // Boo!: (Where to put DefaultEnumeratedColumnProgramTableModel?)
|
||||
|
||||
// TODO: Evaluate these dependencies
|
||||
// compile("com.google.auto.service:auto-service-annotations:$autoServiceVersion")
|
||||
// api("com.google.auto.service:auto-service-annotations:$autoServiceVersion")
|
||||
// annotationProcessor("com.google.auto.service:auto-service:$autoServiceVersion")
|
||||
|
||||
testCompile project(':Base')
|
||||
testImplementation project(':Base')
|
||||
}
|
||||
|
||||
@@ -23,5 +23,5 @@ eclipse.project.name = 'Xtra SampleTablePlugin'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
}
|
||||
|
||||
@@ -20,5 +20,5 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Xtra SleighDevTools'
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ eclipse.project.name = 'Xtra Bundle Examples'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
}
|
||||
|
||||
|
||||
@@ -50,8 +50,8 @@ srcDirs.each {dirName ->
|
||||
// create and return a jar task for the given source directory
|
||||
def makeJarTask(dirName) {
|
||||
return tasks.create("build${dirName}", Jar) {
|
||||
baseName dirName
|
||||
archiveName "${dirName}.jar"
|
||||
archiveBaseName = dirName
|
||||
archiveFileName = "${dirName}.jar"
|
||||
ext.dirName=dirName
|
||||
|
||||
|
||||
@@ -91,8 +91,8 @@ eclipse {
|
||||
// "$rootProject.projectDir/gradle/support/extensionCommon.gradle"
|
||||
task zipExtensions(type: Zip, dependsOn:jarTasks) {
|
||||
def p = this.project
|
||||
archiveName "${rootProject.ext.ZIP_NAME_PREFIX}_${p.name}.zip"
|
||||
destinationDir rootProject.ext.DISTRIBUTION_DIR
|
||||
archiveFileName = "${rootProject.ext.ZIP_NAME_PREFIX}_${p.name}.zip"
|
||||
destinationDirectory = rootProject.ext.DISTRIBUTION_DIR
|
||||
|
||||
duplicatesStrategy 'exclude'
|
||||
|
||||
|
||||
@@ -22,5 +22,5 @@ eclipse.project.name = 'Xtra sample'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
}
|
||||
|
||||
@@ -33,28 +33,28 @@ configurations {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':Utility')
|
||||
compile project(':Generic')
|
||||
compile project(':Docking')
|
||||
compile project(':Graph')
|
||||
compile project(':SoftwareModeling')
|
||||
compile project(':DB')
|
||||
compile project(':Help')
|
||||
api project(':Utility')
|
||||
api project(':Generic')
|
||||
api project(':Docking')
|
||||
api project(':Graph')
|
||||
api project(':SoftwareModeling')
|
||||
api project(':DB')
|
||||
api project(':Help')
|
||||
|
||||
compile 'org.apache.felix:org.apache.felix.framework:6.0.3'
|
||||
compile 'com.github.rotty3000:phidias:0.3.7'
|
||||
compile 'biz.aQute.bnd:biz.aQute.bndlib:5.1.2'
|
||||
compile 'org.slf4j:slf4j-api:1.7.25'
|
||||
api 'org.apache.felix:org.apache.felix.framework:6.0.3'
|
||||
api 'com.github.rotty3000:phidias:0.3.7'
|
||||
api 'biz.aQute.bnd:biz.aQute.bndlib:5.1.2'
|
||||
api 'org.slf4j:slf4j-api:1.7.25'
|
||||
|
||||
runtime "org.slf4j:slf4j-nop:1.7.25"
|
||||
runtimeOnly "org.slf4j:slf4j-nop:1.7.25"
|
||||
|
||||
compileOnly "junit:junit:4.12"
|
||||
|
||||
// These have abstract test classes and stubs needed by this module
|
||||
testCompile project(path: ':Docking', configuration: 'testArtifacts')
|
||||
testCompile project(path: ':Generic', configuration: 'testArtifacts')
|
||||
testCompile project(path: ':Project', configuration: 'testArtifacts')
|
||||
testCompile project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Docking', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Generic', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Project', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
|
||||
javacc 'net.java.dev.javacc:javacc:5.0'
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@ eclipse.project.name = 'Features BytePatterns'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
compile project(':Utility')
|
||||
api project(':Base')
|
||||
api project(':Utility')
|
||||
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@ eclipse.project.name = 'Features ByteViewer'
|
||||
|
||||
dependencies {
|
||||
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
|
||||
testCompile project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
|
||||
helpPath project(path: ':Base', configuration: 'helpPath') // this module's help has links to Base help files
|
||||
}
|
||||
|
||||
@@ -22,5 +22,5 @@ eclipse.project.name = 'Features DebugUtils'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
}
|
||||
|
||||
@@ -24,11 +24,11 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Features Decompiler'
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
compile project(':SoftwareModeling')
|
||||
api project(':Base')
|
||||
api project(':SoftwareModeling')
|
||||
// include Base src/test/resources when running decompiler integration tests (uses defaultTools)
|
||||
integrationTestRuntime project(path: ':Base', configuration: 'testArtifacts')
|
||||
testCompile "org.jmockit:jmockit:1.44"
|
||||
integrationTestImplementation project(path: ':Base', configuration: 'testArtifacts')
|
||||
testImplementation "org.jmockit:jmockit:1.44"
|
||||
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
}
|
||||
|
||||
@@ -23,8 +23,8 @@ eclipse.project.name = 'Features DecompilerDependent'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
compile project(':Decompiler')
|
||||
api project(':Base')
|
||||
api project(':Decompiler')
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -23,28 +23,28 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Features FileFormats'
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
compile project(':Recognizers')
|
||||
compile project(':Python')
|
||||
api project(':Base')
|
||||
api project(':Recognizers')
|
||||
api project(':Python')
|
||||
|
||||
compile ':dex-ir:2.0'
|
||||
compile ':dex-reader:2.0'
|
||||
compile ':dex-reader-api:2.0'
|
||||
compile ':dex-translator:2.0'
|
||||
api ':dex-ir:2.0'
|
||||
api ':dex-reader:2.0'
|
||||
api ':dex-reader-api:2.0'
|
||||
api ':dex-translator:2.0'
|
||||
|
||||
compile 'org.ow2.asm:asm-debug-all:4.1'
|
||||
api 'org.ow2.asm:asm-debug-all:4.1'
|
||||
|
||||
compile 'org.smali:baksmali:1.4.0' // TODO: upgrade to 2.2.6
|
||||
compile 'org.smali:dexlib:1.4.0'
|
||||
compile 'org.smali:util:1.4.0'
|
||||
api 'org.smali:baksmali:1.4.0' // TODO: upgrade to 2.2.6
|
||||
api 'org.smali:dexlib:1.4.0'
|
||||
api 'org.smali:util:1.4.0'
|
||||
|
||||
compile 'net.sf.sevenzipjbinding:sevenzipjbinding:16.02-2.01'
|
||||
compile ':AXMLPrinter2'
|
||||
api 'net.sf.sevenzipjbinding:sevenzipjbinding:16.02-2.01'
|
||||
api ':AXMLPrinter2'
|
||||
|
||||
runtime 'net.sf.sevenzipjbinding:sevenzipjbinding-all-platforms:16.02-2.01'
|
||||
runtimeOnly 'net.sf.sevenzipjbinding:sevenzipjbinding-all-platforms:16.02-2.01'
|
||||
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
|
||||
// include code from src/test/slow in Base
|
||||
testCompile project(path: ':Base', configuration: 'integrationTestArtifacts')
|
||||
testImplementation project(path: ':Base', configuration: 'integrationTestArtifacts')
|
||||
}
|
||||
|
||||
@@ -25,9 +25,9 @@ eclipse.project.name = 'Features Graph FunctionGraph'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
|
||||
testCompile "org.jmockit:jmockit:1.44"
|
||||
testImplementation "org.jmockit:jmockit:1.44"
|
||||
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Features Graph FunctionGraphDecompilerExt'
|
||||
|
||||
dependencies {
|
||||
compile project(":FunctionGraph")
|
||||
compile project(":Decompiler")
|
||||
api project(":FunctionGraph")
|
||||
api project(":Decompiler")
|
||||
}
|
||||
|
||||
@@ -24,9 +24,9 @@ eclipse.project.name = 'Features FunctionID'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
compile project(":DB")
|
||||
compile project(":SoftwareModeling")
|
||||
api project(":Base")
|
||||
api project(":DB")
|
||||
api project(":SoftwareModeling")
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
|
||||
}
|
||||
|
||||
@@ -28,9 +28,9 @@ configurations {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(":FileSystem")
|
||||
compile project(":DB")
|
||||
compile project(":Generic")
|
||||
api project(":FileSystem")
|
||||
api project(":DB")
|
||||
api project(":Generic")
|
||||
|
||||
runGhidraServer project
|
||||
}
|
||||
|
||||
@@ -23,5 +23,5 @@ eclipse.project.name = 'Features GnuDemangler'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ eclipse.project.name = 'Features Graph FunctionCalls'
|
||||
|
||||
// Note: this module's name is 'GraphFunctionCalls'
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
|
||||
@@ -35,7 +35,7 @@ dependencies {
|
||||
helpPath project(path: ":FunctionGraph", configuration: 'helpPath')
|
||||
|
||||
// These have abstract test classes and stubs needed by this module
|
||||
testCompile project(path: ':Project', configuration: 'testArtifacts')
|
||||
testCompile project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Project', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
|
||||
}
|
||||
|
||||
@@ -24,26 +24,26 @@ eclipse.project.name = 'Features Graph Services'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
|
||||
// jungrapht - exclude slf4j which produces a conflict with other uses with Ghidra
|
||||
compile ("com.github.tomnelson:jungrapht-visualization:1.2") { exclude group: "org.slf4j", module: "slf4j-api" }
|
||||
compile ("com.github.tomnelson:jungrapht-layout:1.2") { exclude group: "org.slf4j", module: "slf4j-api" }
|
||||
api ("com.github.tomnelson:jungrapht-visualization:1.2") { exclude group: "org.slf4j", module: "slf4j-api" }
|
||||
api ("com.github.tomnelson:jungrapht-layout:1.2") { exclude group: "org.slf4j", module: "slf4j-api" }
|
||||
|
||||
compile "org.jgrapht:jgrapht-core:1.5.0"
|
||||
api "org.jgrapht:jgrapht-core:1.5.0"
|
||||
|
||||
// not using jgrapht-io code that depends on antlr, so exclude antlr
|
||||
compile ("org.jgrapht:jgrapht-io:1.5.0") { exclude group: "org.antlr", module: "antlr4-runtime" }
|
||||
api ("org.jgrapht:jgrapht-io:1.5.0") { exclude group: "org.antlr", module: "antlr4-runtime" }
|
||||
|
||||
runtime "org.slf4j:slf4j-api:1.7.25"
|
||||
runtimeOnly "org.slf4j:slf4j-api:1.7.25"
|
||||
|
||||
// use this if you want no slf4j log messages
|
||||
runtime "org.slf4j:slf4j-nop:1.7.25"
|
||||
runtimeOnly "org.slf4j:slf4j-nop:1.7.25"
|
||||
|
||||
// use this if you want slf4j log messages sent to log4j
|
||||
// runtime "org.apache.logging.log4j:log4j-slf4j-impl:2.12.1"
|
||||
// runtimeOnly "org.apache.logging.log4j:log4j-slf4j-impl:2.12.1"
|
||||
|
||||
runtime "org.jheaps:jheaps:0.13"
|
||||
runtimeOnly "org.jheaps:jheaps:0.13"
|
||||
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Features MicrosoftCodeAnalyzer'
|
||||
|
||||
dependencies {
|
||||
compile project(":MicrosoftDmang")
|
||||
compile project(":Base")
|
||||
api project(":MicrosoftDmang")
|
||||
api project(":Base")
|
||||
}
|
||||
|
||||
@@ -23,6 +23,6 @@ eclipse.project.name = 'Features MicrosoftDemangler'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
compile project(":MicrosoftDmang")
|
||||
api project(":Base")
|
||||
api project(":MicrosoftDmang")
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ project.ext.excludeFromParallelTests = true
|
||||
project.ext.excludeFromParallelIntegrationTests = true
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -28,16 +28,16 @@ eclipse.project.name = 'Features PDB'
|
||||
* Build dependencies
|
||||
*********************************************************************************/
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
|
||||
testCompile "org.jmockit:jmockit:1.44"
|
||||
testImplementation "org.jmockit:jmockit:1.44"
|
||||
|
||||
// Demangler Analyzer needs to find MicrosoftDemangler
|
||||
compile project(":MicrosoftDemangler")
|
||||
api project(":MicrosoftDemangler")
|
||||
helpPath project(path: ':Base', configuration: 'helpPath') // this module's help has links to Base help files
|
||||
|
||||
testCompile project(path: ':Base', configuration: 'testArtifacts')
|
||||
testCompile project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Base', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':SoftwareModeling', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -24,7 +24,7 @@ eclipse.project.name = 'Features ProgramDiff'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ eclipse.project.name = 'Features Graph ProgramGraph'
|
||||
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
|
||||
helpPath project(path: ":Base", configuration: 'helpPath')
|
||||
helpPath project(path: ":GraphServices", configuration: 'helpPath')
|
||||
|
||||
@@ -31,10 +31,10 @@ configurations {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
helpPath project(path: ":Base", configuration: "helpPath")
|
||||
jython JYTHON
|
||||
compile JYTHON
|
||||
api JYTHON
|
||||
}
|
||||
|
||||
task jythonUnpack(type: Copy) {
|
||||
|
||||
@@ -22,7 +22,7 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Features Recognizers'
|
||||
|
||||
dependencies {
|
||||
compile project(':Base')
|
||||
api project(':Base')
|
||||
}
|
||||
|
||||
test {
|
||||
|
||||
@@ -23,7 +23,7 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Features SourceCodeLookup'
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
compile project(":Decompiler")
|
||||
api project(":Base")
|
||||
api project(":Decompiler")
|
||||
helpPath project(path: ":Decompiler", configuration: 'helpPath')
|
||||
}
|
||||
|
||||
@@ -25,10 +25,10 @@ eclipse.project.name = 'Features VersionTracking'
|
||||
project.ext.excludeFromParallelIntegrationTests = true
|
||||
|
||||
dependencies {
|
||||
compile project(":Base")
|
||||
api project(":Base")
|
||||
|
||||
helpPath project(path: ":Base", configuration: "helpPath")
|
||||
|
||||
testCompile "org.jmockit:jmockit:1.44"
|
||||
testCompile project(path: ':Project', configuration: 'testArtifacts')
|
||||
testImplementation "org.jmockit:jmockit:1.44"
|
||||
testImplementation project(path: ':Project', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Framework DB'
|
||||
|
||||
dependencies {
|
||||
compile project(':Generic')
|
||||
api project(':Generic')
|
||||
}
|
||||
|
||||
|
||||
@@ -22,16 +22,16 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Framework Docking'
|
||||
|
||||
dependencies {
|
||||
compile project(':Generic')
|
||||
compile 'net.java.dev.timingframework:timingframework:1.0'
|
||||
api project(':Generic')
|
||||
api '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'
|
||||
//api name:'jh2.with.debug'
|
||||
api 'javax.help:javahelp:2.0.05'
|
||||
|
||||
|
||||
// include code from src/test in Generic
|
||||
testCompile project(path: ':Generic', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Generic', configuration: 'testArtifacts')
|
||||
compileOnly "junit:junit:4.12"
|
||||
}
|
||||
|
||||
|
||||
@@ -22,10 +22,10 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Framework FileSystem'
|
||||
|
||||
dependencies {
|
||||
compile project(':Generic')
|
||||
compile project(':DB')
|
||||
compile project(':Docking')
|
||||
compile "ch.ethz.ganymed:ganymed-ssh2:262@jar"
|
||||
api project(':Generic')
|
||||
api project(':DB')
|
||||
api project(':Docking')
|
||||
api "ch.ethz.ganymed:ganymed-ssh2:262@jar"
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -24,17 +24,17 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Framework Generic'
|
||||
|
||||
dependencies {
|
||||
compile project(':Utility')
|
||||
compile "cglib:cglib-nodep:2.2"
|
||||
compile "com.google.guava:guava:19.0"
|
||||
compile "org.jdom:jdom-legacy:1.1.3"
|
||||
compile "org.apache.logging.log4j:log4j-api:2.12.1"
|
||||
compile "org.apache.logging.log4j:log4j-core:2.12.1"
|
||||
compile "org.apache.commons:commons-collections4:4.1"
|
||||
compile "org.apache.commons:commons-lang3:3.9"
|
||||
compile "org.apache.commons:commons-text:1.6"
|
||||
compile "commons-io:commons-io:2.6"
|
||||
compile "com.google.code.gson:gson:2.8.6"
|
||||
api project(':Utility')
|
||||
api "cglib:cglib-nodep:2.2"
|
||||
api "com.google.guava:guava:19.0"
|
||||
api "org.jdom:jdom-legacy:1.1.3"
|
||||
api "org.apache.logging.log4j:log4j-api:2.12.1"
|
||||
api "org.apache.logging.log4j:log4j-core:2.12.1"
|
||||
api "org.apache.commons:commons-collections4:4.1"
|
||||
api "org.apache.commons:commons-lang3:3.9"
|
||||
api "org.apache.commons:commons-text:1.6"
|
||||
api "commons-io:commons-io:2.6"
|
||||
api "com.google.code.gson:gson:2.8.6"
|
||||
|
||||
compileOnly "junit:junit:4.12"
|
||||
}
|
||||
|
||||
@@ -22,21 +22,21 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Framework Graph'
|
||||
|
||||
dependencies {
|
||||
compile project(':Docking')
|
||||
api project(':Docking')
|
||||
|
||||
// these are not used by the project, but indirectly by the jars listed below
|
||||
compile "net.sf.jung:jung-api:2.1.1" // used by jung-graph-impl
|
||||
compile "net.sf.jung:jung-algorithms:2.1.1" // used by jung-visualization
|
||||
api "net.sf.jung:jung-api:2.1.1" // used by jung-graph-impl
|
||||
api "net.sf.jung:jung-algorithms:2.1.1" // used by jung-visualization
|
||||
|
||||
// this project uses these directly
|
||||
compile "net.sf.jung:jung-graph-impl:2.1.1"
|
||||
compile "net.sf.jung:jung-visualization:2.1.1"
|
||||
api "net.sf.jung:jung-graph-impl:2.1.1"
|
||||
api "net.sf.jung:jung-visualization:2.1.1"
|
||||
|
||||
compile "org.jgrapht:jgrapht-core:1.5.0"
|
||||
api "org.jgrapht:jgrapht-core:1.5.0"
|
||||
|
||||
// not using jgrapht-io code that depends on antlr, so exclude antlr
|
||||
compile ("org.jgrapht:jgrapht-io:1.5.0") { exclude group: "org.antlr", module: "antlr4-runtime" }
|
||||
api ("org.jgrapht:jgrapht-io:1.5.0") { exclude group: "org.antlr", module: "antlr4-runtime" }
|
||||
|
||||
// These have abstract test classes and stubs needed by this module
|
||||
testCompile project(path: ':Docking', configuration: 'testArtifacts')
|
||||
testImplementation project(path: ':Docking', configuration: 'testArtifacts')
|
||||
}
|
||||
|
||||
@@ -22,9 +22,9 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Framework Help'
|
||||
|
||||
dependencies {
|
||||
compile project(':Utility')
|
||||
compile project(':Docking')
|
||||
api project(':Utility')
|
||||
api project(':Docking')
|
||||
|
||||
// compile name:'jh' - provided by Docking
|
||||
// api name:'jh' - provided by Docking
|
||||
|
||||
}
|
||||
|
||||
@@ -22,13 +22,13 @@ apply plugin: 'eclipse'
|
||||
eclipse.project.name = 'Framework Project'
|
||||
|
||||
dependencies {
|
||||
compile project(':Generic')
|
||||
compile project(':DB')
|
||||
compile project(':Docking')
|
||||
compile project(':FileSystem')
|
||||
compile project(':Utility')
|
||||
api project(':Generic')
|
||||
api project(':DB')
|
||||
api project(':Docking')
|
||||
api project(':FileSystem')
|
||||
api project(':Utility')
|
||||
|
||||
testCompile project(path: ':Generic', configuration: 'testArtifacts')
|
||||
compile "org.apache.commons:commons-compress:1.19"
|
||||
testImplementation project(path: ':Generic', configuration: 'testArtifacts')
|
||||
api "org.apache.commons:commons-compress:1.19"
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user