Search code examples
eclipseeclipse-pluginguice

Google Guice update site


I am trying to use com.google.inject in my application. Initialy I added as a jar, but now that I am building my application I need Guice to be part of my target definition. What is Google Guice update site URL that I can use in my target definition?


Solution

  • If you're using a build tool like maven or gradle, you can include it as a dependency. For example, here's how you could do it with gradle:

    compile 'com.google.inject:guice:4.0'
    

    This will pull in javax.inject which has the standard inject annotation, as a dependency.