{"id":18700699,"url":"https://github.com/manosbatsis/kotlin-utils","last_synced_at":"2025-11-08T22:30:33.057Z","repository":{"id":38210566,"uuid":"224989103","full_name":"manosbatsis/kotlin-utils","owner":"manosbatsis","description":"KotlinPoet Annotation Processor Utilities","archived":false,"fork":false,"pushed_at":"2022-06-09T01:52:45.000Z","size":176,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T05:22:55.900Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manosbatsis.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}},"created_at":"2019-11-30T09:33:01.000Z","updated_at":"2023-09-20T23:12:58.000Z","dependencies_parsed_at":"2022-09-26T21:41:24.792Z","dependency_job_id":null,"html_url":"https://github.com/manosbatsis/kotlin-utils","commit_stats":null,"previous_names":["manosbatsis/kotlinpoet-utils"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fkotlin-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fkotlin-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fkotlin-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manosbatsis%2Fkotlin-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manosbatsis","download_url":"https://codeload.github.com/manosbatsis/kotlin-utils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239565650,"owners_count":19660154,"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":[],"created_at":"2024-11-07T11:38:30.792Z","updated_at":"2025-11-08T22:30:33.026Z","avatar_url":"https://github.com/manosbatsis.png","language":"Kotlin","readme":"# Kotlin Utils [![Maven Central](https://img.shields.io/maven-central/v/com.github.manosbatsis.kotlin-utils/kotlin-utils-api.svg)](https://repo1.maven.org/maven2/com/github/manosbatsis/kotlin-utils/kotlin-utils-api/) \n\n\n## Utils API\n\nCommons utilities for code generated by [Utils Kapt](#utils-kapt) or Kotlin apps in general.  \n\n## Utils Kapt\n\nKotlinPoet/Kapt utilities for Kotlin annotation processor (sub)components.\n\nAdd to your build:\n\n```groovy\n\ndependencies {\n    // ...\n    api(\"com.github.manosbatsis.kotlin-utils:kotlin-utils-kapt:$kotlinpoetutils_version\")\n}\n```\n\nTo use, add the `ProcessingEnvironmentAware` to your annotation processor:\n\n```kotlin\nimport javax.annotation.processing.AbstractProcessor.AbstractProcessor\nimport com.github.manosbatsis.kotlin.utils.ProcessingEnvironmentAware\n\nclass MyAnnotationProcessor : AbstractProcessor(), ProcessingEnvironmentAware {\n\n    \n    /**\n     * Implement [ProcessingEnvironmentAware.processingEnvironment] \n     * for access to a [ProcessingEnvironment]\n     */\n    override val processingEnvironment: ProcessingEnvironment by lazy {\n        processingEnv\n    }\n}\n```\n\n\n... or sub-component:\n\n```kotlin\nimport javax.annotation.processing.AbstractProcessor.AbstractProcessor\nimport com.github.manosbatsis.kotlin.utils.ProcessingEnvironmentAware\n\nclass MyCustomAnnotationProcessingComponent(\n    override val processingEnvironment: ProcessingEnvironment \n) : ProcessingEnvironmentAware {\n    \n    fun doSometing(){\n        // Do it!\n    }\n\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanosbatsis%2Fkotlin-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanosbatsis%2Fkotlin-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanosbatsis%2Fkotlin-utils/lists"}