Skip to content
This repository has been archived by the owner on Aug 17, 2018. It is now read-only.

Commit

Permalink
Fix war-overlay compability
Browse files Browse the repository at this point in the history
  • Loading branch information
larsgrefer committed Apr 9, 2018
1 parent a59ee7b commit 684d780
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/io/freefair/gradle/plugins/JSassWarPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ public void apply(Project project) {
War war = (War) p.getTasks().getByName(WarPlugin.WAR_TASK_NAME);
if (jSassBasePlugin.getExtension().isInplace()) {
compileWebappSass.setDestinationDir(warPluginConvention.getWebAppDir());
war.dependsOn(compileWebappSass);
} else {
compileWebappSass.setDestinationDir(new File(p.getBuildDir(), "generated/webappCss"));
war.from(compileWebappSass.getDestinationDir());
compileWebappSass.setDestinationDir(new File(p.getBuildDir(), "jsass/webapp"));
war.from(compileWebappSass);
}
war.dependsOn(compileWebappSass);
});
}
}

0 comments on commit 684d780

Please sign in to comment.