gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
92 stars 8 forks source link

Deploy source as an artifact #906

Open amz-shahji opened 5 years ago

amz-shahji commented 5 years ago

Optionally, publish cpp sources as an artifact.

Expected Behavior

A publishing option to conditionally publish sources as an artifact.

Current Behavior

There is no such option yet.

lacasseio commented 5 years ago

This is something we though about an would be useful for the debugging experience. The first step would be to publish the source of an artifact most likely though similar configuration used in the JVM land. The following steps is to make writing the plumbing for each debugger in order to pull and setup source path accordingly to see the code in the debugger. For example, for Visual Studio and Windbg, Gradle could act as a source server and fetch them as required. The same could be done for the symbols.

amz-shahji commented 5 years ago

Related to #756