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

Can't include a directory outside the dist directory into the application distribution #118

Closed
mcarlin opened this issue Jan 8, 2015 · 2 comments · Fixed by #1224
Closed
Labels

Comments

@mcarlin
Copy link

mcarlin commented Jan 8, 2015

Hey @johnrengelman

I've been trying to include a directory outside the dist directory in to the application distribution. When doing this with the installApp task the directory is properly brought into the install build directory but when using the installShadowApp it isn't copied into the installShadow build directory. I've used the following code to include the directory

applicationDistribution.from('config') {
    into "config"
}

Is there something I'm missing?

@johnrengelman
Copy link
Collaborator

The installShadow is controlled by a separate applicationDistribution. Try setting this:

shadow.applicationDistribution.from('config') {
  into "config"
}

@mcarlin
Copy link
Author

mcarlin commented Jan 9, 2015

Works great!! Thanks

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

Successfully merging a pull request may close this issue.

2 participants