mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-23 01:50:15 +08:00
GP-0: Fixing gradle warnings
This commit is contained in:
@@ -41,7 +41,7 @@ rootProject.assembleMarkdownToHtml {
|
||||
}
|
||||
|
||||
rootProject.PLATFORMS.each { platform ->
|
||||
rootProject.tasks.findAll {it.name == "assembleDistribution_${platform.name}"}.each { t ->
|
||||
rootProject.tasks.matching {it.name == "assembleDistribution_${platform.name}"}.each { t ->
|
||||
def p = this.project
|
||||
|
||||
if (isLinux(platform.name) || isMac(platform.name)) {
|
||||
|
||||
@@ -113,7 +113,7 @@ rootProject.assembleDistribution {
|
||||
|
||||
// copy os specific files for each platform
|
||||
rootProject.PLATFORMS.each { platform ->
|
||||
rootProject.tasks.findAll {it.name == "assembleDistribution_${platform.name}"}.each { t ->
|
||||
rootProject.tasks.matching {it.name == "assembleDistribution_${platform.name}"}.each { t ->
|
||||
|
||||
def p = this.project
|
||||
|
||||
@@ -225,7 +225,7 @@ rootProject.assembleMarkdownToHtml {
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
plugins.withType(CPlugin) {
|
||||
rootProject.PLATFORMS.each { platform ->
|
||||
rootProject.tasks.findAll {it.name == "assembleDistribution_${platform.name}"}.each { t ->
|
||||
rootProject.tasks.matching {it.name == "assembleDistribution_${platform.name}"}.each { t ->
|
||||
t.dependsOn this.assemble
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user