diff --git a/embedded-sass-plugin/src/main/java/sass/embedded_protocol/EmbeddedSass/OutputStyle.java b/embedded-sass-plugin/src/main/java/sass/embedded_protocol/EmbeddedSass/OutputStyle.java new file mode 100644 index 00000000..9a5f886c --- /dev/null +++ b/embedded-sass-plugin/src/main/java/sass/embedded_protocol/EmbeddedSass/OutputStyle.java @@ -0,0 +1,30 @@ +package sass.embedded_protocol.EmbeddedSass; + +import lombok.experimental.UtilityClass; + +/** + * Delegate for the old OutputStyle FQN. + *
+ * This should help builds to migrate to the new package. + * + * @author Lars Grefer + * @deprecated Migrate to {@link com.sass_lang.embedded_protocol.OutputStyle} + */ +@Deprecated +@UtilityClass +public final class OutputStyle { + + /** + * @see com.sass_lang.embedded_protocol.OutputStyle#EXPANDED + * @deprecated Migrate to {@link com.sass_lang.embedded_protocol.OutputStyle#EXPANDED} + */ + @Deprecated + public static final com.sass_lang.embedded_protocol.OutputStyle EXPANDED = com.sass_lang.embedded_protocol.OutputStyle.EXPANDED; + + /** + * @see com.sass_lang.embedded_protocol.OutputStyle#COMPRESSED + * @deprecated Migrate to {@link com.sass_lang.embedded_protocol.OutputStyle#COMPRESSED} + */ + @Deprecated + public static final com.sass_lang.embedded_protocol.OutputStyle COMPRESSED = com.sass_lang.embedded_protocol.OutputStyle.COMPRESSED; +} diff --git a/examples/embedded-sass/webjars/build.gradle b/examples/embedded-sass/webjars/build.gradle index 1d4fa26f..b142dbd0 100644 --- a/examples/embedded-sass/webjars/build.gradle +++ b/examples/embedded-sass/webjars/build.gradle @@ -1,3 +1,5 @@ +import com.sass_lang.embedded_protocol.OutputStyle + apply plugin: "java" apply plugin: "io.freefair.sass-java" @@ -8,5 +10,5 @@ dependencies { compileSass { sourceMapEnabled = true sourceMapEmbed = true - outputStyle = EXPANDED + outputStyle = OutputStyle.EXPANDED }