mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 05:46:00 +08:00
Revert "GP-1782: Software Bill of Materials (SBOM)"
This reverts commit c89f45d399.
This commit is contained in:
@@ -76,8 +76,8 @@ task zipExtensions (type: Zip) {
|
||||
/////////////////
|
||||
gradle.taskGraph.whenReady { taskGraph ->
|
||||
if (project.plugins.withType(JavaPlugin)) {
|
||||
def libs = getExternalRuntimeDependencies(p)
|
||||
libs.each { path, dep ->
|
||||
List<String> externalPaths = getExternalRuntimeDependencies(p)
|
||||
externalPaths.each { path ->
|
||||
from (path) {
|
||||
into { getBaseProjectName(p) + "/lib" }
|
||||
}
|
||||
|
||||
@@ -96,9 +96,9 @@ def Map<String, String> getModuleManifestIp(Project project) {
|
||||
*********************************************************************************/
|
||||
def checkExternalLibsInMap(Map<String, String> map, Project project) {
|
||||
if (project.plugins.withType(JavaPlugin)) {
|
||||
def libs = getExternalRuntimeDependencies(project)
|
||||
libs.each { path, dep ->
|
||||
String libName = new File(path).getName() // get just the filename without the path
|
||||
List<String> libs = getExternalRuntimeDependencies(project)
|
||||
libs.each { lib ->
|
||||
String libName = new File(lib).getName() // get just the filename without the path
|
||||
String relativePath = "lib/"+libName;
|
||||
assert map.containsKey(relativePath) : "No License specified for external library: "+relativePath+ " in module "+project.projectDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user