com.github.cleydyr.dart.system.io.utils.SystemUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dart-sass-maven-plugin Show documentation
Show all versions of dart-sass-maven-plugin Show documentation
A Maven plugin that allows to compile SASS using Dart Sass
package com.github.cleydyr.dart.system.io.utils;
import com.github.cleydyr.dart.release.DartSassReleaseParameter;
import java.nio.file.Path;
import java.nio.file.Paths;
public class SystemUtils {
public static Path getExecutableTempFolder(DartSassReleaseParameter dartSassReleaseParameter) {
String os = dartSassReleaseParameter.getOS();
String arch = dartSassReleaseParameter.getArch();
String version = dartSassReleaseParameter.getVersion();
return Paths.get(System.getProperty("java.io.tmpdir"), "dart-sass-maven-plugin", os, arch, version);
}
}