android - Roboblender annotation processing not working -


i try make roboblender work roboguice compile time processing doesn't seem anything, annotationdatabaseimpl class not generated. (project builds without error.)

i created sample project, please see below. miss? (i know gradle task , second metadata needed multi module project, didn't work without them either).

build.gradle:

project.tasks.withtype(javacompile) { task ->     options.compilerargs << "-aguiceannotationdatabasepackagename=gk.com.roboguice_compile" }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     compile 'com.android.support:appcompat-v7:22.0.0'     compile 'org.roboguice:roboguice:3.+'     provided 'org.roboguice:roboblender:3.+' } 

manifest:

    <meta-data         android:name="roboguice.modules"         android:value="gk.com.roboguice_compile.roboguicebindings" />      <meta-data         android:name="roboguice.annotations.packages"         android:value="gk.com.roboguice_compile" /> 

activity:

@contentview(r.layout.activity_main) public class mainactivity extends roboactivity {      @inject     private presentmaker presentmaker; 

bindings:

public class roboguicebindings extends abstractmodule {      @override     protected void configure() {         bind(presentmaker.class).to(birthdaypresentmaker.class);     } } 

the annotationdatabaseimpl there under build directory not among source files.

my bad, every annotation processor work this. (although strangely this project has annotationdatabaseimpl generated in project root..).


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -