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

compile files dependencies don't copy #5

Open
thomasnield opened this issue Aug 16, 2017 · 3 comments
Open

compile files dependencies don't copy #5

thomasnield opened this issue Aug 16, 2017 · 3 comments

Comments

@thomasnield
Copy link

thomasnield commented Aug 16, 2017

It seems dependencies in the build.gradle that use the compile files() command do not copy over to the deployment.

dependencies { 
    compile files('U:/NP/Operational Planning/People/Thomas/maven_local/terajdbc4.jar')
    compile files('U:/NP/Operational Planning/People/Thomas/maven_local/tdgssconfig.jar')
    compile files('U:/NP/Operational Planning/People/Thomas/maven_local/ojdbc6.jar')
}
@edvin
Copy link
Owner

edvin commented Aug 16, 2017

Thanks! I will try to figure out how to include them and get back to you :)

@edvin
Copy link
Owner

edvin commented Aug 18, 2017

I think I need to extract those from project.configurations.runtime.resolvedConfiguration somehow, but I can't figure out exactly how. I might need some Gradle expert help here. Anyone?

@TurekBot
Copy link
Contributor

TurekBot commented Dec 21, 2018

Maybe this can be done with something like project.configurations.runtime.fileCollection() which

locates and downloads the files which make up this configuration. Only the resulting set of files belonging to specified dependencies is contained in the FileCollection.

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

3 participants