是否有可能將Scala編程語言和Gradle構建系統一起使用AndroidAnnotations?當我嘗試將AndroidAnnotations集成到現有的Android/Scala/Gradle項目中時,編譯失敗,因爲找不到生成的下劃線類(例如MyActivity_)。在Scala和Gradle中使用AndroidAnnotations
這裏有一些有用的出發點和參考:
- http://www.scala-lang.org/node/4773(2010-01-06)
- http://www.scala-lang.org/sid/5(2010-01-27)
- http://code.google.com/p/androidannotations/wiki/Configuring(2011-07-28)
- http://docs.jboss.org/hibernate/validator/4.1/reference/en-US/html/ch08.html#d0e2816(2010?)
- Java 6 annotation processing configuration with Ant(2010-09-05)
- http://download.oracle.com/javase/6/docs/technotes/tools/solaris/javac.html#processing
- http://ant.apache.org/manual/Tasks/apt.html
- Generating JPA2 Metamodel from a Gradle build script(2011-06-22)
- http://download.oracle.com/javase/1.5.0/docs/guide/apt/GettingStarted.html