title: Compile Equinox 3.8.2 Project with java 7
body: <p>I need to create a gradle buildsystem for multiple OSGi Projects using Equinox 3.8.2. We use Java 7.</p>
  
  <p>But now my Gradle script failes when compiling projects using the ServiceTracker:</p>
  
  <pre><code>Activator.java:11: error: type ServiceTracker does not take parameters
  private static ServiceTracker&lt;org.osgi.service.log.LogService, Object&gt; logTracker = null;
  </code></pre>
  
  <p>I already found <a href="http://blog.osgi.org/2012/10/43-companion-code-for-java-7.html" rel="nofollow">this</a> blog post.  </p>
  
  <p>But somehow eclipse succeedes when building the project manually using the same osgi 3.8.2 library.</p>