fxlauncher-gradle-plugin icon indicating copy to clipboard operation
fxlauncher-gradle-plugin copied to clipboard

compile files dependencies don't copy

Open thomasnield opened this issue 7 years ago • 3 comments

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')
}

thomasnield avatar Aug 16 '17 13:08 thomasnield

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

edvin avatar Aug 16 '17 17:08 edvin

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?

edvin avatar Aug 18 '17 11:08 edvin

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.

TurekBot avatar Dec 21 '18 18:12 TurekBot