mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-1002: Fixing Debugger nodepJar issues.
This commit is contained in:
parent
a3f3f7eb82
commit
26e4999e73
4 changed files with 19 additions and 34 deletions
|
@ -24,37 +24,3 @@ eclipse.project.name = 'Debug AnnotationValidator'
|
|||
dependencies {
|
||||
api project(':ProposedUtils')
|
||||
}
|
||||
|
||||
// no-dep jar for experiments in loading annotation processor into Eclipse
|
||||
def boolean filterJar(File jarfile) {
|
||||
if (jarfile.name.contains("gradle-api")) {
|
||||
return false
|
||||
} else if (jarfile.name.contains("groovy-all")) {
|
||||
return false
|
||||
} else if (jarfile.name.contains("gradle-installation-beacon")) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
task configureNodepJar {
|
||||
doLast {
|
||||
configurations.runtime.files.forEach {
|
||||
if (filterJar(it)) {
|
||||
nodepJar.from(zipTree(it)) {
|
||||
exclude("META-INF/**")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task nodepJar(type: Jar) {
|
||||
inputs.file(file(jar.archivePath))
|
||||
dependsOn(configureNodepJar)
|
||||
dependsOn(jar)
|
||||
|
||||
appendix = 'nodep'
|
||||
|
||||
from(zipTree(jar.archivePath))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue