{"id":18141394,"url":"https://github.com/codicis/asn1-gradle-plugin","last_synced_at":"2025-10-27T23:31:18.937Z","repository":{"id":258673232,"uuid":"874404708","full_name":"codicis/asn1-gradle-plugin","owner":"codicis","description":"Gradle plugin base on Java ASN.1 BER and DER encoding/decoding library (ASN1bean)","archived":false,"fork":false,"pushed_at":"2024-10-22T08:26:40.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-20T05:42:48.811Z","etag":null,"topics":["asn1","compiler","gradle","java","plugin"],"latest_commit_sha":null,"homepage":"","language":null,"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/codicis.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-17T19:08:23.000Z","updated_at":"2024-10-22T08:26:43.000Z","dependencies_parsed_at":"2024-12-20T05:41:53.015Z","dependency_job_id":"0eb2a0b4-032b-4459-92b1-7931e5d5b15c","html_url":"https://github.com/codicis/asn1-gradle-plugin","commit_stats":null,"previous_names":["codicis/asn1-gradle-plugin"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codicis%2Fasn1-gradle-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codicis%2Fasn1-gradle-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codicis%2Fasn1-gradle-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codicis%2Fasn1-gradle-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codicis","download_url":"https://codeload.github.com/codicis/asn1-gradle-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238571215,"owners_count":19494179,"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":["asn1","compiler","gradle","java","plugin"],"created_at":"2024-11-01T17:06:41.431Z","updated_at":"2025-10-27T23:31:18.927Z","avatar_url":"https://github.com/codicis.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ASN.1 Gradle Compiler Plugin\n\nThis Gradle plugin provides easy integration of [ASN.1bean](https://github.com/beanit/asn1bean) — a Java-based library supporting **BER** and **DER** encoding/decoding of ASN.1 data structures.\n\n## 📦 Plugin Setup\n\nAdd the plugin using the **plugins DSL** in your `build.gradle.kts`:\n\n```kotlin\nplugins {\n    id(\"io.github.codicis.asn1\") version \"0.1\"\n}\n```\n\n## ⚙️ Configuration\n\nConfigure the plugin via the `asn1` extension block:\n\n```kotlin\nasn1 {\n    // Set the ASN.1 compiler version\n    version = \"1.14.0\"\n\n    model {\n        register(\"taskName\"){\n            // Define target package name for generated classes\n            packageName.set(\"com.example.generated\")\n\n            // Provide input ASN.1 source files\n            sourceFiles.setFrom(fileTree(\"src/main/asn1\"))\n            \n            // Override if you need a custom output directory for generated Java classes\n            outputDir.set(layout.buildDirectory.dir(\"generated/asn1\"))\n        }\n    }\n}\n```\n\n## 📚 Resources\n\nFor more details and documentation, refer to:\n\n- 🌐 [ASN.1bean Overview](https://www.beanit.com/asn1/)\n- 🧩 [ASN.1bean GitHub Repository](https://github.com/beanit/asn1bean)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodicis%2Fasn1-gradle-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodicis%2Fasn1-gradle-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodicis%2Fasn1-gradle-plugin/lists"}