{"id":8185,"date":"2015-11-30T00:41:28","date_gmt":"2015-11-30T00:41:28","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/30\/square-dagger\/"},"modified":"2022-08-30T15:02:58","modified_gmt":"2022-08-30T15:02:58","slug":"square-dagger","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/30\/square-dagger\/","title":{"rendered":"square\/dagger"},"content":{"rendered":"<p>A fast dependency injector for Android and Java.<\/p>\n<p>For more information please see the website.<\/p>\n<h2>Download<\/h2>\n<p>You will need to include the <code>dagger-${dagger.version}.jar<\/code> in your application\u2019s runtime. In order to activate code generation you will need to include <code>dagger-compiler-${dagger.version}.jar<\/code> in your build at compile time.<\/p>\n<p>In a Maven project, one would include the runtime in the dependencies section of your <code>pom.xml<\/code> (replacing <code>${dagger.version}<\/code> with the appropriate current release), and the <code>dagger-compiler<\/code> artifact as an \u201coptional\u201d or \u201cprovided\u201d dependency:<\/p>\n<pre><code>\n  \n    com.squareup.dagger\n    dagger\n    ${dagger.version}\n  \n  \n    com.squareup.dagger\n    dagger-compiler\n    ${dagger.version}\n    true\n  \n\n<\/code><\/pre>\n<p>You can also find downloadable .jars on Maven Central. You\u2019ll need Dagger, JavaPoet, and javax.inject.<\/p>\n<p>Snapshots of the development version are available in Sonatype\u2019s <code>snapshots<\/code> repository.<\/p>\n<h2>License<\/h2>\n<pre><code>Copyright 2012 Square, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http:\/\/www.apache.org\/licenses\/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A fast dependency injector for Android and Java. For more information please see the website. Download You will need to include the dagger-${dagger.version}.jar in your application\u2019s runtime. In order to activate code generation you will need to include dagger-compiler-${dagger.version}.jar in your build at compile time. In a Maven project, one would include the runtime in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8185","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8185","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=8185"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8185\/revisions"}],"predecessor-version":[{"id":8553,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/8185\/revisions\/8553"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=8185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=8185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=8185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}