little workaround for CDI

This commit is contained in:
2014-06-18 20:27:25 +02:00
parent d03ca8a272
commit 09d04cee6c

View File

@@ -65,3 +65,14 @@ dependencies {
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {
gradleVersion = '1.7' 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/'
}
}