diff --git a/build.gradle b/build.gradle index e474fb4..2028776 100644 --- a/build.gradle +++ b/build.gradle @@ -64,4 +64,15 @@ dependencies { /////////////////////////////////////////////////////////////////////////////////// task wrapper(type: Wrapper) { gradleVersion = '1.7' +} + +/////////////////////////////////////////////////////////////////////////////////// +// little workaround // +// beans.xml has to be placed under the classes directory // +/////////////////////////////////////////////////////////////////////////////////// +run.doFirst { + copy { + from 'build/resources/main/META-INF/beans.xml' + into 'build/classes/main/META-INF/' + } } \ No newline at end of file