{"action":"created","issue":{"url":"https://api.github.com/repos/eriwen/gradle-css-plugin/issues/39","repository_url":"https://api.github.com/repos/eriwen/gradle-css-plugin","labels_url":"https://api.github.com/repos/eriwen/gradle-css-plugin/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/eriwen/gradle-css-plugin/issues/39/comments","events_url":"https://api.github.com/repos/eriwen/gradle-css-plugin/issues/39/events","html_url":"https://github.com/eriwen/gradle-css-plugin/issues/39","id":108321088,"number":39,"title":"Example csslint config does not work","user":{"login":"FrontierPsychiatrist","id":3382041,"avatar_url":"https://avatars.githubusercontent.com/u/3382041?v=3","gravatar_id":"","url":"https://api.github.com/users/FrontierPsychiatrist","html_url":"https://github.com/FrontierPsychiatrist","followers_url":"https://api.github.com/users/FrontierPsychiatrist/followers","following_url":"https://api.github.com/users/FrontierPsychiatrist/following{/other_user}","gists_url":"https://api.github.com/users/FrontierPsychiatrist/gists{/gist_id}","starred_url":"https://api.github.com/users/FrontierPsychiatrist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrontierPsychiatrist/subscriptions","organizations_url":"https://api.github.com/users/FrontierPsychiatrist/orgs","repos_url":"https://api.github.com/users/FrontierPsychiatrist/repos","events_url":"https://api.github.com/users/FrontierPsychiatrist/events{/privacy}","received_events_url":"https://api.github.com/users/FrontierPsychiatrist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T12:56:45Z","updated_at":"2016-03-15T07:27:10Z","closed_at":null,"body":"I tried to apply the plugin to my project but using the csslint task fails.\r\nI'm getting\r\n\r\n```\r\nNo such property: source for class: com.eriwen.gradle.css.CssLintExtension_Decorated\r\n```\r\n\r\nwhen I configure\r\n\r\n```\r\ncss.source {\r\n    dev {\r\n        css {\r\n            srcDir \"src/main/resources/static/css\"\r\n            include \"*.css\"\r\n            exclude \"*.min.css\"\r\n        }\r\n    }\r\n}\r\n\r\ncsslint {\r\n    source = css.source.dev.css.files\r\n    dest = \"${buildDir}/csslint.out\"\r\n}\r\n```\r\n\r\nand run `gradle csslint`.\r\n\r\nI'm using Gradle 2.7 on Linux with JDK 1.8.0_60."},"comment":{"url":"https://api.github.com/repos/eriwen/gradle-css-plugin/issues/comments/196699320","html_url":"https://github.com/eriwen/gradle-css-plugin/issues/39#issuecomment-196699320","issue_url":"https://api.github.com/repos/eriwen/gradle-css-plugin/issues/39","id":196699320,"user":{"login":"sauliuxx","id":288088,"avatar_url":"https://avatars.githubusercontent.com/u/288088?v=3","gravatar_id":"","url":"https://api.github.com/users/sauliuxx","html_url":"https://github.com/sauliuxx","followers_url":"https://api.github.com/users/sauliuxx/followers","following_url":"https://api.github.com/users/sauliuxx/following{/other_user}","gists_url":"https://api.github.com/users/sauliuxx/gists{/gist_id}","starred_url":"https://api.github.com/users/sauliuxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sauliuxx/subscriptions","organizations_url":"https://api.github.com/users/sauliuxx/orgs","repos_url":"https://api.github.com/users/sauliuxx/repos","events_url":"https://api.github.com/users/sauliuxx/events{/privacy}","received_events_url":"https://api.github.com/users/sauliuxx/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T07:27:09Z","updated_at":"2016-03-15T07:27:09Z","body":"Try this:\r\ncsslint {\r\n    tasks.csslint.source = css.source.dev.css.files\r\n    tasks.csslint.dest = \"${buildDir}/csslint.out\"\r\n}"}}