在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):robfletcher/gradle-compass开源软件地址(OpenSource Url):https://github.com/robfletcher/gradle-compass开源编程语言(OpenSource Language):Groovy 100.0%开源软件介绍(OpenSource Introduction):Gradle Compass pluginTasksThe plugin adds the following tasks: compassCompileCompiles all SASS files. Equivalent to the compassWatchCompiles and watches all SASS files. Equivalent to the compassVersionPrints out the compass version. compassConfigWrites compass configuration out to InstallationAdd the plugin like this: apply plugin: "com.github.robfletcher.compass" buildscript { repositories { jcenter() maven { url "http://dl.bintray.com/robfletcher/gradle-plugins" } } dependencies { classpath "com.github.robfletcher:compass-gradle-plugin:2.0.5" } } ConfigurationGeneral configuration for the plugin goes inside a compass { cssDir = file("public/styles") sassDir = file("src/main/sass") } Configuration parametersThe full set of parameters supported by the plugin is… Paths
Compilation options
Command line output
Dependency options
Specifying the Compass versionBy default the plugin will use the latest version of Compass available. If you need a specific version you can set the version using Gradle’s dependency management. For example: dependencies { compass "rubygems:compass:1.0.1" } Gems are installed using the JRuby Gradle plugin. The Compass plugin creates a special "compass" configuration that is used by all the plugin’s tasks. Cleaning outputThe Compass plugin creates a Using additional gemsYou can use Compass extensions from Ruby gems by adding dependencies to the compass configuration. The plugin will automatically add a dependencies { compass "rubygems:breakpoint:2.5.0" } Automatically recompiling stylesheets while other tasks are runningA typical use-case is to run Assuming you’re using the Application plugin's run.dependsOn compassWatchStart run.finalizedBy compassWatchStop Advanced Gem Install OptionsYou can specify additional options to compass { gems = [ [ name: "compass", version: "0.12.7", ], [ name: "compass-css-arrow", version: "0.0.4", opts: ["--ignore-dependencies"], ], ] } Version history2.0.5
2.0.5
2.0.4
2.0.3
2.0.2
2.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
[app-plugin]: [compass]:http://compass-style.org/ [gradle]:http://gradle.org/ [sass]:http://sass-lang.com/ [breakpoint]:http://breakpoint-sass.com/ |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论