{"id":18385358,"url":"https://github.com/themrmilchmann/gradle-ecj","last_synced_at":"2025-04-07T00:32:05.137Z","repository":{"id":41422834,"uuid":"503787082","full_name":"TheMrMilchmann/gradle-ecj","owner":"TheMrMilchmann","description":"A Gradle plugin for using the Eclipse Compiler for Java (ECJ) for compiling Java files.","archived":false,"fork":false,"pushed_at":"2024-04-16T09:49:06.000Z","size":447,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-04-16T13:23:49.242Z","etag":null,"topics":["compile","ecj","eclipse-compiler","gradle","java"],"latest_commit_sha":null,"homepage":"https://plugins.gradle.org/plugin/io.github.themrmilchmann.ecj","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TheMrMilchmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-06-15T13:54:17.000Z","updated_at":"2024-04-08T01:20:42.000Z","dependencies_parsed_at":"2023-12-19T17:16:46.258Z","dependency_job_id":"52f4f09e-d5ff-4644-a781-531134fccfb3","html_url":"https://github.com/TheMrMilchmann/gradle-ecj","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fgradle-ecj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fgradle-ecj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fgradle-ecj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TheMrMilchmann%2Fgradle-ecj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TheMrMilchmann","download_url":"https://codeload.github.com/TheMrMilchmann/gradle-ecj/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223266805,"owners_count":17116520,"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":["compile","ecj","eclipse-compiler","gradle","java"],"created_at":"2024-11-06T01:17:23.281Z","updated_at":"2024-11-06T01:17:23.889Z","avatar_url":"https://github.com/TheMrMilchmann.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gradle Eclipse Compiler for Java Plugin\n\n[![License](https://img.shields.io/badge/license-MIT-green.svg?style=for-the-badge\u0026label=License)](https://github.com/TheMrMilchmann/gradle-ecj/blob/master/LICENSE)\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.themrmilchmann.gradle.ecj/gradle-ecj.svg?style=for-the-badge\u0026label=Maven%20Central)](https://maven-badges.herokuapp.com/maven-central/io.github.themrmilchmann.gradle.ecj/gradle-ecj)\n[![Gradle Plugin Portal](https://img.shields.io/maven-metadata/v.svg?style=for-the-badge\u0026\u0026label=Gradle%20Plugin%20Portal\u0026logo=Gradle\u0026metadataUrl=https%3A%2F%2Fplugins.gradle.org%2Fm2%2Fio%2Fgithub%2Fthemrmilchmann%2Fecj%2Fio.github.themrmilchmann.ecj.gradle.plugin%2Fmaven-metadata.xml)](https://plugins.gradle.org/plugin/io.github.themrmilchmann.ecj)\n![Gradle](https://img.shields.io/badge/Gradle-7.4-green.svg?style=for-the-badge\u0026color=1ba8cb\u0026logo=Gradle)\n![Java](https://img.shields.io/badge/Java-8-green.svg?style=for-the-badge\u0026color=b07219\u0026logo=Java)\n\nA Gradle plugin for using the Eclipse Compiler for Java (ECJ) for compiling Java files.\n\nThis plugin is loosely based on [Niklas Walter's Gradle Eclipse Compiler for Java Plugin](https://github.com/TwoStone/gradle-eclipse-compiler-plugin).\n\n\n## Usage\n\n## Gradle Groovy DSL\n\n```groovy\nplugins {\n    id \"io.github.themrmilchmann.ecj\" version \"0.2.0\"\n}\n```\n\nUsually, simply applying the plugin is enough to cover most use-cases. However,\nin some scenarios, the ECJ artifact may be changed.\n\n### Configuring ECJ (via dependency)\n\n```groovy\ndependencies {\n    ecj \"org.eclipse.jdt:ecj:3.32.0\"\n}\n```\n\n### Configuring ECJ (via extension)\n\n```groovy\necj {\n    compilerGroupId = \"org.eclipse.jdt\"\n    compilerArtifactId = \"ecj\"\n    compilerVersion = \"3.32.0\"\n}\n```\n\n## Gradle Kotlin DSL\n\n### Applying the plugin\n\n```kotlin\nplugins {\n    id(\"io.github.themrmilchmann.ecj\") version \"0.2.0\"\n}\n```\n\nUsually, simply applying the plugin is enough to cover most use-cases. However,\nin some scenarios, the ECJ artifact may be changed.\n\n### Configuring ECJ (via dependency)\n\n```kotlin\ndependencies {\n    ecj(\"org.eclipse.jdt:ecj:3.32.0\")\n}\n```\n\n### Configuring ECJ (via extension)\n\n```kotlin\necj {\n    compilerGroupId.set(\"org.eclipse.jdt\")\n    compilerArtifactId.set(\"ecj\")\n    compilerVersion.set(\"3.32.0\")\n}\n```\n\n\n## Compatibility Map\n\n| Gradle | Minimal plugin version |\n|--------|------------------------|\n| 8.0    | 0.2.0                  |\n| 7.4    | 0.1.0                  |\n\n\n## Plugin defaults\n\n| Plugin version | Default ECJ version |\n|----------------|---------------------|\n| 0.2.0+         | 3.32.0              |\n| 0.1.0+         | 3.30.0              |\n\n\n## Building from source\n\n### Setup\n\nThis project uses [Gradle's toolchain support](https://docs.gradle.org/8.5/userguide/toolchains.html)\nto detect and select the JDKs required to run the build. Please refer to the\nbuild scripts to find out which toolchains are requested.\n\nAn installed JDK 1.8 (or later) is required to use Gradle.\n\n### Building\n\nOnce the setup is complete, invoke the respective Gradle tasks using the\nfollowing command on Unix/macOS:\n\n    ./gradlew \u003ctasks\u003e\n\nor the following command on Windows:\n\n    gradlew \u003ctasks\u003e\n\nImportant Gradle tasks to remember are:\n- `clean`                   - clean build results\n- `build`                   - assemble and test the Java library\n- `publishToMavenLocal`     - build and install all public artifacts to the\n                              local maven repository\n\nAdditionally `tasks` may be used to print a list of all available tasks.\n\n\n## License\n\n```\nCopyright (c) 2022-2024 Leon Linhart\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemrmilchmann%2Fgradle-ecj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemrmilchmann%2Fgradle-ecj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemrmilchmann%2Fgradle-ecj/lists"}