3

Has anybody has and success installing the HTML5 drag and drop multi-file upload plugin in a Grails 3 application.

I have mapped

compile "org.grails.plugins:uploadr:1.2.11"

in the build.grade file but then also getting this

| Error Could not resolve all dependencies for configuration ':testRuntime'. Type 'gradle dependencies' for more information

Can anybody help me to get me out. Any help would be much appreciated.

Sandeep Roniyaar
  • 204
  • 1
  • 8
  • 26

2 Answers2

4

You need the Grails 3 version. See documentation here: http://grails.org/plugins.html#plugin/grails3-uploadr and try

dependencies {
  compile 'com.nayidisha.grails.uploadr:grails3-uploadr:3.0'
}

instead of the Grails 2.x dependency you have above.

sbglasius
  • 3,104
  • 20
  • 28
0

It's only for grails 2 :/ see the issue : https://github.com/dustindclark/grails-uploadr/issues/2

hereForLearing
  • 1,209
  • 1
  • 15
  • 33
  • 1
    nothing has given there in that link. You can check once.There is no description about the issues. And see the below link. And I think it is for grails 3.1 version But I don't why it is not working. https://github.com/dustindclark/grails-uploadr/tree/3.1-upgrade – Sandeep Roniyaar May 21 '16 at 05:24
  • Ok I don't know :/ since it's in the "issues" I interpreted that it's something TODO – hereForLearing May 21 '16 at 16:02