{"id":46401,"date":"2023-01-17T23:03:08","date_gmt":"2023-01-17T14:03:08","guid":{"rendered":"https:\/\/www.charlezz.com\/?p=46401"},"modified":"2023-01-17T23:03:11","modified_gmt":"2023-01-17T14:03:11","slug":"hilt-%ec%bb%b4%ed%8c%8c%ec%9d%bc-%ed%83%80%ec%9e%84%ec%97%90-installin-%ec%b2%b4%ed%81%ac-%eb%ac%b4%ec%8b%9c%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/charlezz.com\/?p=46401","title":{"rendered":"[Hilt] \ucef4\ud30c\uc77c \ud0c0\uc784\uc5d0 @InstallIn \uccb4\ud06c \ubb34\uc2dc\ud558\uae30"},"content":{"rendered":"\n<p>Hilt\ub97c \uc0ac\uc6a9\ud560 \uacbd\uc6b0 \ubaa8\ub4c8 \ud074\ub798\uc2a4\uc5d0 \ubc18\ub4dc\uc2dc @InstallIn\uc744 \ucd94\uac00\ud574\uc57c \ud55c\ub2e4. \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74 \ucef4\ud30c\uc77c \ud0c0\uc784\uc5d0 \uc624\ub958\uac00 \ubc1c\uc0dd\ud55c\ub2e4.<\/p>\n\n\n\n<p>\ud558\uc9c0\ub9cc Dagger2\uc5d0\uc11c Hilt\ub85c \ub9c8\uc774\uadf8\ub808\uc774\uc158\uc744 \ud558\uac70\ub098 \ud2b9\ubcc4\ud55c \uc0ac\uc720\uac00 \uc788\ub294 \uacbd\uc6b0 \ubaa8\ub4e0 \ubaa8\ub4c8 \ud074\ub798\uc2a4\uc5d0 @InstallIn\uc744 \ucd94\uac00\ud558\uae30 \uc5b4\ub824\uc6b4 \uacbd\uc6b0\uac00 \uc788\ub2e4. \uc774\ub54c \ub2e4\uc74c \uc608\uc81c\ucf54\ub4dc \ucc98\ub7fc, \ud574\ub2f9 \ubaa8\ub4c8\uc758 \uadf8\ub808\uc774\ub4e4 \uc2a4\ud06c\ub9bd\ud2b8\uc5d0 <meta charset=\"utf-8\">disableModulesHaveInstallInCheck \uc635\uc158\uc744 \ucd94\uac00 \ud560 \uc218 \uc788\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ build.gradle.kts\nandroid {\n    ...\n    defaultConfig {\n    ...                  \n    javaCompileOptions.annotationProcessorOptions.arguments&#91;\"dagger.hilt.disableModulesHaveInstallInCheck\"] = \"true\"\n    }\n}\n<\/code><\/pre>\n\n\n\n<p>gradle \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucef4\ud30c\uc77c(\ube4c\ub4dc)\ud558\ub294 \uacbd\uc6b0\uc5d0\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \ud50c\ub798\uadf8\ub97c \ucd94\uac00 \ud560 \uc218 \uc788\ub2e4.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-Adagger.hilt.disableModulesHaveInstallInCheck=true.\n\n\ub610\ub294 \uac1c\ubcc4\uc801\uc73c\ub85c \ubaa8\ub4c8 \ud074\ub798\uc2a4\uc5d0 <a href=\"https:\/\/dagger.dev\/api\/latest\/dagger\/hilt\/migration\/DisableInstallInCheck.html\">@DisableInstallInCheck<\/a> \ub97c \ucd94\uac00\ud558\uc5ec @InstallIn \uac80\uc0ac\ub97c \ube44\ud65c\uc131\ud654 \uc2dc\ud0ac \uc218 \uc788\ub2e4.<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Hilt\ub97c \uc0ac\uc6a9\ud560 \uacbd\uc6b0 \ubaa8\ub4c8 \ud074\ub798\uc2a4\uc5d0 \ubc18\ub4dc\uc2dc @InstallIn\uc744 \ucd94\uac00\ud574\uc57c \ud55c\ub2e4. \uadf8\ub807\uc9c0 \uc54a\uc73c\uba74 \ucef4\ud30c\uc77c \ud0c0\uc784\uc5d0 \uc624\ub958\uac00 \ubc1c\uc0dd\ud55c\ub2e4. \ud558\uc9c0\ub9cc Dagger2\uc5d0\uc11c Hilt\ub85c \ub9c8\uc774\uadf8\ub808\uc774\uc158\uc744 \ud558\uac70\ub098 \ud2b9\ubcc4\ud55c \uc0ac\uc720\uac00 \uc788\ub294 \uacbd\uc6b0 \ubaa8\ub4e0 \ubaa8\ub4c8 \ud074\ub798\uc2a4\uc5d0 @InstallIn\uc744 \ucd94\uac00\ud558\uae30 \uc5b4\ub824\uc6b4 \uacbd\uc6b0\uac00 \uc788\ub2e4. \uc774\ub54c \ub2e4\uc74c \uc608\uc81c\ucf54\ub4dc \ucc98\ub7fc, \ud574\ub2f9 \ubaa8\ub4c8\uc758 \uadf8\ub808\uc774\ub4e4 \uc2a4\ud06c\ub9bd\ud2b8\uc5d0 disableModulesHaveInstallInCheck \uc635\uc158\uc744 \ucd94\uac00 \ud560 \uc218 \uc788\ub2e4. gradle \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ucef4\ud30c\uc77c(\ube4c\ub4dc)\ud558\ub294 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[28],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts\/46401"}],"collection":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=46401"}],"version-history":[{"count":1,"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts\/46401\/revisions"}],"predecessor-version":[{"id":46402,"href":"https:\/\/charlezz.com\/index.php?rest_route=\/wp\/v2\/posts\/46401\/revisions\/46402"}],"wp:attachment":[{"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=46401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=46401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/charlezz.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=46401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}