{"sha":"4ed58c743dfcdda69d64cc2897183b01420f4ce7","node_id":"MDY6Q29tbWl0MTcyNTE5OTo0ZWQ1OGM3NDNkZmNkZGE2OWQ2NGNjMjg5NzE4M2IwMTQyMGY0Y2U3","commit":{"author":{"name":"Paul Chaignon","email":"paul.chaignon@gmail.com","date":"2014-11-29T04:00:35Z"},"committer":{"name":"Paul Chaignon","email":"paul.chaignon@gmail.com","date":"2014-11-29T04:00:35Z"},"message":"Support for gradle files","tree":{"sha":"1c9420f247ca2265f8abde5f3dbcb6ae8e95a60b","url":"https://api.github.com/repos/github-linguist/linguist/git/trees/1c9420f247ca2265f8abde5f3dbcb6ae8e95a60b"},"url":"https://api.github.com/repos/github-linguist/linguist/git/commits/4ed58c743dfcdda69d64cc2897183b01420f4ce7","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}},"url":"https://api.github.com/repos/github-linguist/linguist/commits/4ed58c743dfcdda69d64cc2897183b01420f4ce7","html_url":"https://github.com/github-linguist/linguist/commit/4ed58c743dfcdda69d64cc2897183b01420f4ce7","comments_url":"https://api.github.com/repos/github-linguist/linguist/commits/4ed58c743dfcdda69d64cc2897183b01420f4ce7/comments","author":{"login":"pchaigno","id":1764210,"node_id":"MDQ6VXNlcjE3NjQyMTA=","avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=4","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","user_view_type":"public","site_admin":false},"committer":{"login":"pchaigno","id":1764210,"node_id":"MDQ6VXNlcjE3NjQyMTA=","avatar_url":"https://avatars.githubusercontent.com/u/1764210?v=4","gravatar_id":"","url":"https://api.github.com/users/pchaigno","html_url":"https://github.com/pchaigno","followers_url":"https://api.github.com/users/pchaigno/followers","following_url":"https://api.github.com/users/pchaigno/following{/other_user}","gists_url":"https://api.github.com/users/pchaigno/gists{/gist_id}","starred_url":"https://api.github.com/users/pchaigno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pchaigno/subscriptions","organizations_url":"https://api.github.com/users/pchaigno/orgs","repos_url":"https://api.github.com/users/pchaigno/repos","events_url":"https://api.github.com/users/pchaigno/events{/privacy}","received_events_url":"https://api.github.com/users/pchaigno/received_events","type":"User","user_view_type":"public","site_admin":false},"parents":[{"sha":"cfd95360cbecbf1de8f09957324bb68ff5d55950","url":"https://api.github.com/repos/github-linguist/linguist/commits/cfd95360cbecbf1de8f09957324bb68ff5d55950","html_url":"https://github.com/github-linguist/linguist/commit/cfd95360cbecbf1de8f09957324bb68ff5d55950"}],"stats":{"total":46,"additions":46,"deletions":0},"files":[{"sha":"cc5cb6eb0a36ea07a516c8d5a0b2f0b0aa6b28f0","filename":"grammars.yml","status":"modified","additions":2,"deletions":0,"changes":2,"blob_url":"https://github.com/github-linguist/linguist/blob/4ed58c743dfcdda69d64cc2897183b01420f4ce7/grammars.yml","raw_url":"https://github.com/github-linguist/linguist/raw/4ed58c743dfcdda69d64cc2897183b01420f4ce7/grammars.yml","contents_url":"https://api.github.com/repos/github-linguist/linguist/contents/grammars.yml?ref=4ed58c743dfcdda69d64cc2897183b01420f4ce7","patch":"@@ -137,6 +137,8 @@ https://github.com/fsharp/fsharpbinding:\n - source.fsharp\n https://github.com/gingerbeardman/monkey.tmbundle:\n - source.monkey\n+https://github.com/alkemist/gradle.tmbundle:\n+- source.groovy.gradle\n https://github.com/guillermooo/dart-sublime-bundle/raw/master/Dart.tmLanguage:\n - source.dart\n https://github.com/harrism/sublimetext-cuda-cpp/raw/master/cuda-c%2B%2B.tmLanguage:"},{"sha":"afaf689afa01d262aeb508b3f5027aee65e4cd63","filename":"lib/linguist/languages.yml","status":"modified","additions":6,"deletions":0,"changes":6,"blob_url":"https://github.com/github-linguist/linguist/blob/4ed58c743dfcdda69d64cc2897183b01420f4ce7/lib%2Flinguist%2Flanguages.yml","raw_url":"https://github.com/github-linguist/linguist/raw/4ed58c743dfcdda69d64cc2897183b01420f4ce7/lib%2Flinguist%2Flanguages.yml","contents_url":"https://api.github.com/repos/github-linguist/linguist/contents/lib%2Flinguist%2Flanguages.yml?ref=4ed58c743dfcdda69d64cc2897183b01420f4ce7","patch":"@@ -968,6 +968,12 @@ Grace:\n   - .grace\n   tm_scope: none\n \n+Gradle:\n+  type: data\n+  extensions:\n+  - .gradle\n+  tm_scope: source.groovy.gradle\n+\n Grammatical Framework:\n   type: programming\n   aliases:"},{"sha":"190eb3f651a14892108dab15a1106bb285673d8b","filename":"samples/Gradle/build.gradle","status":"added","additions":18,"deletions":0,"changes":18,"blob_url":"https://github.com/github-linguist/linguist/blob/4ed58c743dfcdda69d64cc2897183b01420f4ce7/samples%2FGradle%2Fbuild.gradle","raw_url":"https://github.com/github-linguist/linguist/raw/4ed58c743dfcdda69d64cc2897183b01420f4ce7/samples%2FGradle%2Fbuild.gradle","contents_url":"https://api.github.com/repos/github-linguist/linguist/contents/samples%2FGradle%2Fbuild.gradle?ref=4ed58c743dfcdda69d64cc2897183b01420f4ce7","patch":"@@ -0,0 +1,18 @@\n+apply plugin: GreetingPlugin\n+\n+greeting.message = 'Hi from Gradle'\n+\n+class GreetingPlugin implements Plugin<Project> {\n+    void apply(Project project) {\n+        // Add the 'greeting' extension object\n+        project.extensions.create(\"greeting\", GreetingPluginExtension)\n+        // Add a task that uses the configuration\n+        project.task('hello') << {\n+            println project.greeting.message\n+        }\n+    }\n+}\n+\n+class GreetingPluginExtension {\n+    def String message = 'Hello from GreetingPlugin'\n+}"},{"sha":"342be2fdfbdb35454da9af338def091272dc75f0","filename":"samples/Gradle/builder.gradle","status":"added","additions":20,"deletions":0,"changes":20,"blob_url":"https://github.com/github-linguist/linguist/blob/4ed58c743dfcdda69d64cc2897183b01420f4ce7/samples%2FGradle%2Fbuilder.gradle","raw_url":"https://github.com/github-linguist/linguist/raw/4ed58c743dfcdda69d64cc2897183b01420f4ce7/samples%2FGradle%2Fbuilder.gradle","contents_url":"https://api.github.com/repos/github-linguist/linguist/contents/samples%2FGradle%2Fbuilder.gradle?ref=4ed58c743dfcdda69d64cc2897183b01420f4ce7","patch":"@@ -0,0 +1,20 @@\n+apply plugin: GreetingPlugin\n+\n+greeting {\n+    message = 'Hi'\n+    greeter = 'Gradle'\n+}\n+\n+class GreetingPlugin implements Plugin<Project> {\n+    void apply(Project project) {\n+        project.extensions.create(\"greeting\", GreetingPluginExtension)\n+        project.task('hello') << {\n+            println \"${project.greeting.message} from ${project.greeting.greeter}\"\n+        }\n+    }\n+}\n+\n+class GreetingPluginExtension {\n+    String message\n+    String greeter\n+}"}]}