# Artifacts for external dependency when using cpp plugin in Windows

**URL:** <https://discuss.gradle.org/t/artifacts-for-external-dependency-when-using-cpp-plugin-in-windows/6204>\
**Category:** Old Forum Archive\
**Created:** [October 17, 2013, 12:42pm UTC](https://discuss.gradle.org/t/artifacts-for-external-dependency-when-using-cpp-plugin-in-windows/6204 "2013-10-17T12:42:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom\_wright](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/tom_wright/32/2651_2.png) [@tom\_wright](https://discuss.gradle.org/u/tom_wright)\
**Post date:** [October 17, 2013, 12:42pm UTC](https://discuss.gradle.org/t/artifacts-for-external-dependency-when-using-cpp-plugin-in-windows/6204/1 "2013-10-17T12:42:00Z")

</div>

I’d like to build a C++ shared library making use of some external dependencies (delivered from Artifactory) on Windows (where those external dependencies are shared libraries). However the documentation ([http://www.gradle.org/docs/current/userguide/cpp.html](http://www.gradle.org/docs/current/userguide/cpp.html), section 54.8.1) appears to be unix-specific: in particular, the .lib file that is required for linking against shared libraries by Windows is not covered at all.

What classifier should this lib file have? And on Windows, does the cpp plugin expect the dll to actually be called “.dll” in the repository, with classifier “dll”?

Tom

---

<div class="post-metadata">

**Author:** ![daz](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/daz/32/2475_2.png) [@daz](https://discuss.gradle.org/u/daz)\
**Post date:** [October 18, 2013, 10:09am UTC](https://discuss.gradle.org/t/artifacts-for-external-dependency-when-using-cpp-plugin-in-windows/6204/2 "2013-10-18T10:09:00Z")

</div>

External dependencies are not yet supported on Windows, and are only marginally supported on \*nix. We’re first working on getting inter-project and intra-project dependencies working (with full variant support), and later we’ll get this working for external dependencies as well.

---

<div class="post-metadata">

**Author:** ![tom\_wright](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/tom_wright/32/2651_2.png) [@tom\_wright](https://discuss.gradle.org/u/tom_wright)\
**Post date:** [October 18, 2013, 10:51am UTC](https://discuss.gradle.org/t/artifacts-for-external-dependency-when-using-cpp-plugin-in-windows/6204/3 "2013-10-18T10:51:00Z")

</div>

Thank you for the clarification. (The reason why this is particularly important to me is because of our use of some external open source libraries (e.g., Boost), which I do not want to spend time converting to gradle for building from source; my plan was to manually upload the necessary artifacts to our Artifactory instance and depend on them from there.)

Do you have an approximate timescale for development of this feature? Unfortunately this blocks our adoption of the cpp-plugin for our build as we cannot even experiment with our production code without those dependencies.

---

<div class="post-metadata">

**Author:** ![daz](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/daz/32/2475_2.png) [@daz](https://discuss.gradle.org/u/daz)\
**Post date:** [October 22, 2013, 9:08pm UTC](https://discuss.gradle.org/t/artifacts-for-external-dependency-when-using-cpp-plugin-in-windows/6204/4 "2013-10-22T21:08:00Z")

</div>

This is pretty high on the priority list, and something we’re actively working on. But I can’t give any expected timeframe for delivery.

---

<div class="post-metadata">

**Author:** ![tom\_wright](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/tom_wright/32/2651_2.png) [@tom\_wright](https://discuss.gradle.org/u/tom_wright)\
**Post date:** [October 29, 2014, 2:35pm UTC](https://discuss.gradle.org/t/artifacts-for-external-dependency-when-using-cpp-plugin-in-windows/6204/5 "2014-10-29T14:35:00Z")

</div>

Following up on this topic…what is the current status? We’re still keen to do this if we can.

To be a little more specific, looking at [https://github.com/gradle/gradle/blob/master/design-docs/continuous-delivery-for-c-plus-plus.md#story-allow-library-binaries-to-be-used-as-input-to-other-libraries](https://github.com/gradle/gradle/blob/master/design-docs/continuous-delivery-for-c-plus-plus.md#story-allow-library-binaries-to-be-used-as-input-to-other-libraries) the user stories we need are:

Story: Publish and resolve shared libraries Story: Allow library binaries to be used as input to other libraries
