Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround IDEA problem with artifacts fetched from archives #35

Open
ilya-g opened this issue Feb 15, 2018 · 0 comments
Open

Workaround IDEA problem with artifacts fetched from archives #35

ilya-g opened this issue Feb 15, 2018 · 0 comments

Comments

@ilya-g
Copy link

ilya-g commented Feb 15, 2018

TeamCity allows to get files from artifact archives, by separating the path to archive and the path inside archive with !:
path/to/archive.zip!path/inside/archive

Such files can be used as dependencies by tcdeps plugin, however it causes exclamation mark to get in the artifact name, and consequently in the gradle module cache directory name.

IDEA appears to have a problem with the artifacts, containing ! in their path: https://youtrack.jetbrains.com/issue/IDEA-160951

This problem can be mitigated in tcdeps plugin, by not producing artifacts with ! in their name.

The proposed solution is to place the path to archive in one of unused ivy tokens, one that is not used by Gradle to build cache directory name, and place that token in the ivy repository pattern, like
.../([that_token]!)[artifact](.[ext])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant