Nodeclipse / nodeclipse

Nodeclipse-1 : Eclipse plugin for Node.js, PhantomJS development (Nodeclipse core plugin); Maven and Gradle (with Android) plugins
https://nodeclipse.github.io/
158 stars 78 forks source link

[research] Gradle task to put jars from Maven repository into project lib folder #151

Closed paulvi closed 10 years ago

paulvi commented 10 years ago

http://stackoverflow.com/questions/23109276/gradle-task-to-put-jars-from-maven-repository-into-project-lib-folder

http://blog.jonasbandi.net/2014/03/running-nodejs-applications-on-jvm-with.html describes how to prepare to run Avatar.js project.

For a Avatar.js project some jar and native binaries are at maven repository https://maven.java.net/content/repositories/public/com/oracle/

I'd like to use gradle task to get jars from Maven repository and put into lib folder. The research show it is possible.

http://forums.gradle.org/gradle/topics/create_a_local_mirror_for_dependencies

http://gradle.1045684.n5.nabble.com/collecting-only-external-dependency-files-td5117615.html#a5680602

Is there some more standard implementation of such task as of April 2014 ?

paulvi commented 10 years ago

https://github.com/PaulVI/NashornSandbox/commit/35ed5b8a6dfcfe7c50b341bc094de410cbfac1a6

paulvi commented 10 years ago

http://stackoverflow.com/questions/23123868/gradle-get-jar-and-native-lib-from-maven-snapshots-repository