File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/org/moe/gradle/tasks Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -245,14 +245,14 @@ protected final void setupMoeTask(final @NotNull Mode mode) {
245245 setDescription ("Generates header files for Interface Builder" );
246246
247247 // Add dependencies
248- final R8 r8Task = getMoePlugin ().getTaskBy (R8 .class , sourceSet , mode );
249- dependsOn (r8Task );
248+ final ClassValidate classValidateTask = getMoePlugin ().getTaskBy (ClassValidate .class , sourceSet , mode );
249+ dependsOn (classValidateTask );
250250
251251 // Update convention mapping
252252 addConvention (CONVENTION_INPUT_FILES , () -> {
253253 final ArrayList <Object > files = new ArrayList <>();
254- files .add ( r8Task . getOutJar ());
255- if (getMoeExtension ().proguard .getLevelRaw () == ProGuardOptions .LEVEL_APP ) {
254+ files .addAll ( classValidateTask . getOutputJars (). getFiles ());
255+ if (getMoeExtension ().proguard .getLevelRaw () != ProGuardOptions .LEVEL_ALL ) {
256256 files .add (getMoeExtension ().getPlatformJar ());
257257 }
258258 return files ;
You can’t perform that action at this time.
0 commit comments