{"id":26895315,"url":"https://github.com/insertkoinio/koin-embedded","last_synced_at":"2026-04-13T01:39:30.129Z","repository":{"id":284145782,"uuid":"953970588","full_name":"InsertKoinIO/koin-embedded","owner":"InsertKoinIO","description":"Embedded version of Koin via relocation scripts (sources \u0026 modules)","archived":false,"fork":false,"pushed_at":"2025-03-26T17:58:30.000Z","size":897,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-26T18:42:33.070Z","etag":null,"topics":["android","embedded","koin","kotlin","kotlin-multiplatform","sdk"],"latest_commit_sha":null,"homepage":"https://insert-koin.io","language":"Shell","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/InsertKoinIO.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":"2025-03-24T11:15:10.000Z","updated_at":"2025-03-26T18:04:55.000Z","dependencies_parsed_at":"2025-03-26T18:42:35.767Z","dependency_job_id":null,"html_url":"https://github.com/InsertKoinIO/koin-embedded","commit_stats":null,"previous_names":["insertkoinio/koin-relocate","insertkoinio/koin-embedded"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsertKoinIO%2Fkoin-embedded","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsertKoinIO%2Fkoin-embedded/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsertKoinIO%2Fkoin-embedded/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsertKoinIO%2Fkoin-embedded/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InsertKoinIO","download_url":"https://codeload.github.com/InsertKoinIO/koin-embedded/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246569001,"owners_count":20798341,"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":["android","embedded","koin","kotlin","kotlin-multiplatform","sdk"],"created_at":"2025-04-01T01:55:18.223Z","updated_at":"2026-04-13T01:39:30.122Z","avatar_url":"https://github.com/InsertKoinIO.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koin Embedded for Kotlin SDK \u0026 Library\n\nGiven that Android plugin doesn't allow to use external aar files anymore, and fatjar plugins are outdated ...\n\nThis project proposes scripts to help rebuild \u0026 package Koin project with a different package name. The interest is for \u003cb\u003eSDK \u0026 Library development\u003c/b\u003e, to avoid conflict between embedded Koin version and any consuming application that would use another version of Koin, that might conflict.\n\nWith this project project you have following choices:\n- [build \u0026 pack your relocated version](https://github.com/InsertKoinIO/koin-embedded/tree/main?tab=readme-ov-file#setup)\n- [use pre-build embedded version](https://github.com/InsertKoinIO/koin-embedded/tree/main?tab=readme-ov-file#koin-embedded-version)\n\nFeedback or help? Contact [Koin Team](mailto:koin@kotzilla.io).\n\n\n# Koin Relocation Scripts\n\nClone this repository to have access to all relocation scripts. Then follow next setup steps.\n\n## Setup\n\nOpen `relocate.properties` file to specify:\n- RELOCATION_PREFIX - Prefix to relocate Koin package. \"embedded\", will transform `org.koin.*` to `embedded.koin.*`\n- TARGET_KOIN_VERSION - Koin version tag to use\n- KOIN_MODULES - list of Koin modules to rename with prefix. I.e `koin-core` will become `embeded-koin-core`\n- BUILD_DIR - folder where Koin built artifacts are copied\n\n### Exemple - Koin 3.5.6\n\n```\nRELOCATION_PREFIX=relocated\nTARGET_KOIN_VERSION=3.5.6\nKOIN_MODULES=core/koin-core;android/koin-android\nBUILD_DIR=./build\n```\n\n### Exemple - Koin 4.0.4\n\n```\nRELOCATION_PREFIX=relocated\nTARGET_KOIN_VERSION=4.0.4\nKOIN_MODULES=core/koin-core;core/koin-core-viewmodel;android/koin-android\nBUILD_DIR=./build\n```\n\n## Run the Scripts\n\n\u003e Requirements: JDK 17 environment to build Koin project\n\nJust run `./relocate.sh`. \n\n## Artifacts \u0026 Outputs\n\nThe output build will be in `./build` or $BUILD_DIR\n\nOnce executed, open the `./build` or $BUILD_DIR folder to get your aar/jar artifacts, to add to your project\n\nAll Koin modules will be installed locally, in your local Maven repo.\n\n# Koin Embedded Version\n\nHere is an example of Koin embedded version: [Kotzilla Repository](https://repository.kotzilla.io/#browse/browse:Koin-Embedded) \n- Available packages: `embedded-koin-core`, `embedded-koin-android`\n- Relocation on from `org.koin.*` to `embedded.koin.*`\n\nSetup your Gradle config with this Maven repository:\n```kotlin\nmaven { 'https://repository.kotzilla.io/repository/kotzilla-platform/' }\n```\n\n# Project Sample\n\nThe `embedded-project-sample` folder contains sample for Koin embedded SDK Library.\n\n- sample-library - Android library project, using Koin embedded version in 3.5.6\n- sample-app - Android Application using Koin 4.0.2 and sample-library\n\n## Install Library\n\nfrom `embedded-project-sample/sample-library` run `install.sh`\n\n\u003e This projects uses Kotzilla Koin Embedded repo.\n\n## Run App \u0026 Library\n\nfrom `embedded-project-sample/sample-app`, run the Android app\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsertkoinio%2Fkoin-embedded","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsertkoinio%2Fkoin-embedded","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsertkoinio%2Fkoin-embedded/lists"}