File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/main/groovy/com/archinamon/api Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ dependencies {
26
26
}
27
27
28
28
group = ' com.archinamon'
29
- version = ' 2.4.2 '
29
+ version = ' 2.4.3 '
30
30
31
31
// local archive :: debug mode
32
32
uploadArchives {
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ class AspectJAppTransform extends Transform {
171
171
logAugmentationStart();
172
172
173
173
// attaching source classes compiled by compile${variantName}AspectJ task
174
- includeCompiledAspects(transformInvocation);
174
+ includeCompiledAspects(transformInvocation, outputDir );
175
175
Collection<TransformInput > inputs = modeComplex() ? transformInvocation. inputs : transformInvocation. referencedInputs;
176
176
177
177
inputs. each { input ->
@@ -226,10 +226,13 @@ class AspectJAppTransform extends Transform {
226
226
227
227
/* Internal */
228
228
229
- def private includeCompiledAspects (TransformInvocation transformInvocation ) {
229
+ def private includeCompiledAspects (TransformInvocation transformInvocation , File outputDir ) {
230
230
def compiledAj = project. file(" $project . buildDir /aspectj/${ (transformInvocation.context as TransformTask).variantName} " );
231
231
if (compiledAj. exists()) {
232
232
aspectJWeaver. aspectPath << compiledAj;
233
+
234
+ // copy compiled .class files to output directory
235
+ FileUtil . copyDir compiledAj, outputDir;
233
236
}
234
237
}
235
238
You can’t perform that action at this time.
0 commit comments