title: Using AndroidAnnotations with Scala and Gradle
body: <p>Is it possible to use AndroidAnnotations with the Scala programming language and the Gradle build system? When I try to integrate AndroidAnnotations into my existing Android/Scala/Gradle project, then compilation fails because the generated underscore classes (e.g. MyActivity_) cannot be found.</p>
  
  <p>Here are some useful starting points and references:</p>
  
  <ul>
  <li><a href="http://www.scala-lang.org/node/4773" rel="nofollow noreferrer">http://www.scala-lang.org/node/4773</a> (2010-01-06)</li>
  <li><a href="http://www.scala-lang.org/sid/5" rel="nofollow noreferrer">http://www.scala-lang.org/sid/5</a> (2010-01-27)</li>
  <li><a href="http://code.google.com/p/androidannotations/wiki/Configuring" rel="nofollow noreferrer">http://code.google.com/p/androidannotations/wiki/Configuring</a> (2011-07-28)</li>
  <li><a href="http://docs.jboss.org/hibernate/validator/4.1/reference/en-US/html/ch08.html#d0e2816" rel="nofollow noreferrer">http://docs.jboss.org/hibernate/validator/4.1/reference/en-US/html/ch08.html#d0e2816</a> (2010?)</li>
  <li><a href="https://stackoverflow.com/questions/3644069/java-6-annotation-processing-configuration-with-ant">Java 6 annotation processing configuration with Ant</a> (2010-09-05)</li>
  <li><a href="http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html#processing" rel="nofollow noreferrer">http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html#processing</a></li>
  <li><a href="http://ant.apache.org/manual/Tasks/apt.html" rel="nofollow noreferrer">http://ant.apache.org/manual/Tasks/apt.html</a></li>
  <li><a href="https://stackoverflow.com/questions/6431026/generating-jpa2-metamodel-from-a-gradle-build-script">Generating JPA2 Metamodel from a Gradle build script</a> (2011-06-22)</li>
  <li><a href="http://download.oracle.com/javase/1.5.0/docs/guide/apt/GettingStarted.html" rel="nofollow noreferrer">http://download.oracle.com/javase/1.5.0/docs/guide/apt/GettingStarted.html</a> </li>
  </ul>