{"action":"opened","issue":{"url":"https://api.github.com/repos/xebia-france/selma/issues/151","repository_url":"https://api.github.com/repos/xebia-france/selma","labels_url":"https://api.github.com/repos/xebia-france/selma/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/xebia-france/selma/issues/151/comments","events_url":"https://api.github.com/repos/xebia-france/selma/issues/151/events","html_url":"https://github.com/xebia-france/selma/issues/151","id":224358415,"number":151,"title":"How to use selma with  gradle","user":{"login":"winsnow","id":11866078,"avatar_url":"https://avatars0.githubusercontent.com/u/11866078?v=3","gravatar_id":"","url":"https://api.github.com/users/winsnow","html_url":"https://github.com/winsnow","followers_url":"https://api.github.com/users/winsnow/followers","following_url":"https://api.github.com/users/winsnow/following{/other_user}","gists_url":"https://api.github.com/users/winsnow/gists{/gist_id}","starred_url":"https://api.github.com/users/winsnow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winsnow/subscriptions","organizations_url":"https://api.github.com/users/winsnow/orgs","repos_url":"https://api.github.com/users/winsnow/repos","events_url":"https://api.github.com/users/winsnow/events{/privacy}","received_events_url":"https://api.github.com/users/winsnow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-26T06:34:18Z","updated_at":"2017-04-26T06:34:18Z","closed_at":null,"body":"I have add the libs into build.gradle:  \r\n```\r\ncompile group: 'fr.xebia.extras', name: 'selma-processor', version: '0.15'\r\ncompile group: 'fr.xebia.extras', name: 'selma', version: '0.15'\r\n```\r\n\r\nBut when do a getting start, it not work, just throw exception: \r\n```\r\nException in thread \"main\" java.lang.IllegalArgumentException: Unable to load generated mapper class com.test.l4dto.selma.OrderSelmaMapperSelmaGeneratedClass failed : com.test.l4dto.selma.OrderSelmaMapperSelmaGeneratedClass\r\n\tat fr.xebia.extras.selma.Selma.createMapperInstance(Selma.java:255)\r\n\tat fr.xebia.extras.selma.Selma.getMapper(Selma.java:158)\r\n\tat fr.xebia.extras.selma.Selma.access$100(Selma.java:56)\r\n\tat fr.xebia.extras.selma.Selma$MapperBuilder.build(Selma.java:349)\r\n\tat com.test.l4dto.selma.DtoMapping.main(DtoMapping.java:15)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)\r\nCaused by: java.lang.ClassNotFoundException: com.test.l4dto.selma.OrderSelmaMapperSelmaGeneratedClass\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\tat fr.xebia.extras.selma.Selma.createMapperInstance(Selma.java:183)\r\n\r\n```\r\n\r\nI find the different is the maven project has a plugin, how to use the plugin with gradle?\r\n"}}
{"actor":{"display_login":"winsnow"}}