little workaround for CDI
This commit is contained in:
11
build.gradle
11
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/'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user