We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5acd236 commit bfa5eecCopy full SHA for bfa5eec
src/main/java/io/miret/etienne/gradle/sass/SassGradlePluginExtension.java
@@ -5,6 +5,7 @@
5
import org.gradle.api.Project;
6
7
import java.io.File;
8
+import java.nio.file.Path;
9
10
@Getter
11
@Setter
@@ -19,10 +20,14 @@ public class SassGradlePluginExtension {
19
20
private boolean autoCopy;
21
22
public SassGradlePluginExtension (Project project) {
23
+ Path projectPath = project.getRootDir()
24
+ .toPath()
25
+ .relativize(project.getProjectDir().toPath());
26
this.version = "1.54.0";
- this.directory = project.getProjectDir ()
27
+ this.directory = project.getRootDir()
28
.toPath ()
29
.resolve (".gradle/sass")
30
+ .resolve(projectPath)
31
.toFile ();
32
this.baseUrl = "https://github.com/sass/dart-sass/releases/download";
33
this.autoCopy = true;
0 commit comments