[build] Include debug info in plugin published artifacts (#3149)

This commit is contained in:
Peter Johnson
2021-02-12 22:15:16 -08:00
committed by GitHub
parent be0ce99007
commit 04b112e004

View File

@@ -43,18 +43,7 @@ addTaskToCopyAllOutputs(cppHeadersZip)
model {
publishing {
def pluginTaskList = createComponentZipTasks($.components, [pluginName], zipBaseName, Zip, project, { task, value ->
value.each { binary ->
if (binary.buildable) {
if (binary instanceof SharedLibraryBinarySpec) {
task.dependsOn binary.buildTask
task.from(binary.sharedLibraryFile) {
into nativeUtils.getPlatformPath(binary) + '/shared'
}
}
}
}
})
def pluginTaskList = createComponentZipTasks($.components, [pluginName], zipBaseName, Zip, project, includeStandardZipFormat)
publications {
cpp(MavenPublication) {