{"id":20208886,"url":"https://github.com/palantir/gradle-processors","last_synced_at":"2025-05-07T07:32:25.479Z","repository":{"id":36621266,"uuid":"40927475","full_name":"palantir/gradle-processors","owner":"palantir","description":"Gradle plugin for integrating Java annotation processors","archived":true,"fork":false,"pushed_at":"2024-06-03T16:47:19.000Z","size":501,"stargazers_count":63,"open_issues_count":19,"forks_count":23,"subscribers_count":271,"default_branch":"master","last_synced_at":"2025-03-18T05:15:06.545Z","etag":null,"topics":["annotation-processing","annotation-processors","gradle","java","octo-correct-managed"],"latest_commit_sha":null,"homepage":"","language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/palantir.png","metadata":{"files":{"readme":"README.md","changelog":"changelog/3.0.0/pr-117.v2.yml","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-17T20:44:20.000Z","updated_at":"2024-11-09T10:11:46.000Z","dependencies_parsed_at":"2024-06-03T19:21:24.020Z","dependency_job_id":"6914349e-772b-48c3-a1a8-8a71f64be6d8","html_url":"https://github.com/palantir/gradle-processors","commit_stats":null,"previous_names":[],"tags_count":49,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palantir%2Fgradle-processors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palantir%2Fgradle-processors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palantir%2Fgradle-processors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palantir%2Fgradle-processors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palantir","download_url":"https://codeload.github.com/palantir/gradle-processors/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252833795,"owners_count":21811254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["annotation-processing","annotation-processors","gradle","java","octo-correct-managed"],"created_at":"2024-11-14T05:37:51.160Z","updated_at":"2025-05-07T07:32:25.091Z","avatar_url":"https://github.com/palantir.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"right\"\u003e\n\u003ca href=\"https://autorelease.general.dmz.palantir.tech/palantir/gradle-processors\"\u003e\u003cimg src=\"https://img.shields.io/badge/Perform%20an-Autorelease-success.svg\" alt=\"Autorelease\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nGradle Processors\n=================\n\nA plugin for Gradle that cleans up integration of Java [annotation processors][] with the\n[Eclipse][] and [IDEA][] plugins.\n\n[annotation processors]: http://docs.oracle.com/javase/6/docs/api/javax/annotation/processing/Processor.html\n[Eclipse]: https://docs.gradle.org/current/userguide/eclipse_plugin.html\n[IDEA]: https://docs.gradle.org/current/userguide/idea_plugin.html\n\n[![GitHub release](https://img.shields.io/github/release/palantir/gradle-processors.svg?maxAge=60)](https://plugins.gradle.org/plugin/org.inferred.processors)\n[![Travis](https://img.shields.io/travis/palantir/gradle-processors.svg?maxAge=60)](https://travis-ci.org/palantir/gradle-processors)\n[![license](https://img.shields.io/github/license/palantir/gradle-processors.svg?maxAge=2592000)](http://www.apache.org/licenses/LICENSE-2.0)\n\nQuickstart\n----------\n\nTo use it, add the following to your projects' build.gradle file:\n\n```gradle\n\nplugins {\n  id 'org.inferred.processors' version '\u003cLATEST VERSION\u003e'\n}\n```\n\nThe `eclipse` and `idea` tasks will now configure your IDE to run annotation processors as part\nof their regular compilation when you use an annotationProcessor dependency.\n\n```gradle\n\ndependencies {\n  annotationProcessor 'com.google.dagger:dagger-compiler:2.8'\n  implementation 'com.google.dagger:dagger:2.8'\n}\n```\n\nGradle 4.5 and earlier\n----------------------\n\nIf you are still using Gradle 4.5 or earlier, you can use the legacy `processor` dependency type to enable annotation processing:\n\n\n```gradle\n\ndependencies {\n  processor 'com.google.auto.value:auto-value:1.0'\n}\n```\n\nThis functions as a combination of the modern \"annotationProcessor\" and \"compileOnly\" blocks: it both enables the annotation processor, and makes any annotations it exposes available to use in source code.\n\nGradle 2.0 and earlier\n----------------------\n\nFor users of Gradle 2.0 and earlier, the `plugins` API is not available. Instead, add the\nfollowing to your top-level build.gradle file:\n\n```gradle\n\nbuildscript {\n  repositories {\n    maven {\n      url 'https://plugins.gradle.org/m2/'\n    }\n  }\n  dependencies {\n    classpath 'gradle.plugin.org.inferred:gradle-processors:\u003cLATEST VERSION\u003e'\n  }\n}\n```\n\nAnd just the apply directive to your subproject build.gradle files:\n\n```gradle\n\napply plugin: 'org.inferred.processors'\n```\n\nYou can now include annotation processors with the `processor` dependency type, as above.\n\nBuilding from source\n--------------------\n\nTo build the project from source, run `./gradlew build`, or `gradlew.bat build` on Windows,\nin the root directory of your checkout. You will need Java installed.\n\nLicense\n-------\n\n```\nCopyright 2015 Palantir Technologies, Inc. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalantir%2Fgradle-processors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalantir%2Fgradle-processors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalantir%2Fgradle-processors/lists"}