{"id":19680305,"url":"https://github.com/touchlab/cklib","last_synced_at":"2025-04-29T04:31:14.718Z","repository":{"id":45168619,"uuid":"413664605","full_name":"touchlab/cklib","owner":"touchlab","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-31T18:07:05.000Z","size":2320,"stargazers_count":99,"open_issues_count":3,"forks_count":4,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-04-05T13:04:53.207Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/touchlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2021-10-05T03:46:42.000Z","updated_at":"2025-02-02T09:24:08.000Z","dependencies_parsed_at":"2022-09-01T03:50:47.027Z","dependency_job_id":"69f22d01-cab6-4fd9-a54e-9ac7da9ef588","html_url":"https://github.com/touchlab/cklib","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fcklib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fcklib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fcklib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchlab%2Fcklib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/touchlab","download_url":"https://codeload.github.com/touchlab/cklib/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251432746,"owners_count":21588644,"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-11T18:04:40.981Z","updated_at":"2025-04-29T04:31:14.376Z","avatar_url":"https://github.com/touchlab.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C Klib\n\nCKlib is a gradle plugin that will build and package C/C++/Objective-C code for Kotlin/Native.\n\n# Usage\n\nAdd gradle plugins\n\n```kotlin\nplugins {\n    kotlin(\"multiplatform\")\n    id(\"co.touchlab.cklib\")\n}\n```\n\nAdd Kotlin version and define some C-like source:\n\n```kotlin\ncklib {\n    config.kotlinVersion = KOTLIN_VERSION\n    create(\"objcsample\") {\n        language = Language.OBJC\n    }\n}\n```\n\nSee example in [Kermit](https://github.com/touchlab/Kermit/blob/main/kermit-crashlytics-test/build.gradle.kts#L69)\n\n# Note\n\nThe main Kotlin project has changed how locally embedded C-like code is included in libraries. Use \nthis project if you'd like, but outside of private projects we won't really be supporting it much.\n\nLicense\n=======\n\n    Copyright 2021 Touchlab, Inc.\n    \n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n    \n       http://www.apache.org/licenses/LICENSE-2.0\n    \n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftouchlab%2Fcklib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftouchlab%2Fcklib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftouchlab%2Fcklib/lists"}