{"id":19702860,"url":"https://github.com/toatoes/room-implementation","last_synced_at":"2026-03-19T11:09:49.106Z","repository":{"id":258075400,"uuid":"870334832","full_name":"ToaToes/ROOM-Implementation","owner":"ToaToes","description":"The Hilt Android Gradle plugin, and the dependency problems","archived":false,"fork":false,"pushed_at":"2024-10-09T21:37:14.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T16:52:03.092Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ToaToes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-09T21:12:57.000Z","updated_at":"2024-10-09T21:37:17.000Z","dependencies_parsed_at":"2024-10-17T15:10:32.869Z","dependency_job_id":null,"html_url":"https://github.com/ToaToes/ROOM-Implementation","commit_stats":null,"previous_names":["toatoes/room-implementation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ToaToes/ROOM-Implementation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FROOM-Implementation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FROOM-Implementation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FROOM-Implementation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FROOM-Implementation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ToaToes","download_url":"https://codeload.github.com/ToaToes/ROOM-Implementation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ToaToes%2FROOM-Implementation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30101641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T23:59:36.199Z","status":"ssl_error","status_checked_at":"2026-03-04T23:56:48.556Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11T21:16:18.489Z","updated_at":"2026-03-05T00:01:38.344Z","avatar_url":"https://github.com/ToaToes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# To implement Room database in android app \u0026\u0026 To create DAO (Data Access Object), entity to integrate database in android\n\nTo solve ksp, dependency reference not found problem: \n\nLink: https://kotlinlang.org/docs/ksp-quickstart.html\n\u003cbr/\u003e Link: https://developer.android.com/build/migrate-to-ksp\n\u003cbr/\u003e Link: https://stackoverflow.com/questions/62882730/the-hilt-android-gradle-plugin-is-applied-but-no-com-google-daggerhilt-android\n\n## Hilt-Gradle-Plugin\nThe Hilt Android Gradle plugin, and the dependency problems\n\n\nFor using **version catalog** and **KSP** in lib.version.toml (version catalog)\n\nIn toml file:\n```\n\n[versions]\nagp = \"8.2.2\"\nkotlin = \"1.9.21\"\nksp-version = \"1.9.22-1.0.17\"\nhilt-version = \"2.44\"\n\n\n[libraries]\n...\nhilt-android = { group = \"com.google.dagger\", name = \"hilt-android\", version.ref = \"hilt-version\" }\nhilt-compiler = { group = \"com.google.dagger\", name = \"hilt-android-compiler\", version.ref = \"hilt-version\" }\n\n\n[plugins]\nksp = { id = \"com.google.devtools.ksp\", version.ref = \"ksp-version\" }\nhilt = { id = \"com.google.dagger.hilt.android\", version.ref = \"hilt-version\"}\n\n```\n\nIn build.gradle.kts(project)\n```\nplugins {\n\n  ...\n\n  /*\n    Not use these:\n    id(\"com.google.devtools.ksp\") version \"1.9.21-1.0.16\" apply false\n    id(\"com.google.dagger.hilt.android\") version \"2.49\" apply false\n  */\n\n  alias(libs.plugins.ksp) apply false\n  alias(libs.plugins.hilt) apply false\n}\n```\n\nIn build.gradle.kts(Module:app)\n```\n\nplugins{\n\n  ...\n\n  /*\n    Not use these:\n    id(\"com.google.devtools.ksp\")\n    id(\"com.google.dagger.hilt.android\")\n  */\n\n  alias(libs.plugins.ksp)\n  alias(libs.plugins.hilt)\n}\n\nandroid{\n\n  ...\n\n  compileOptions{\n    sourceCompatibility = JavaVersion.VERSION_17\n    targetCompatibility = JavaVersion.VERSION_17\n  }\n  kotlinOptions{\n    jvmTarget = \"17\"\n  }\n\n}\n\ndependencies{\n\n  ...\n\n  /*\n        Not use these:\n        //implementation(libs.hilt.android)\n        //ksp (libs.hilt.android.compiler.v2391)\n        implementation(libs.hilt.android.v249)\n\n        ksp (libs.dagger.compiler.v248) // Dagger compiler\n        ksp (libs.dagger.hilt.compiler)   // Hilt compiler\n  */\n\n  implementation(libs.hilt.android)\n  ksp(libs.hilt.compiler)\n\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoatoes%2Froom-implementation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoatoes%2Froom-implementation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoatoes%2Froom-implementation/lists"}