Last week, I was looking for a way to specify the aidl folder explicitly in 
the android-sdk-plugin. The problem is intellij has a hard coded "/aidl" in 
the specified gen directory that can't be removed (as far as I can tell) as 
this often leads to annoying dup class files when intellij is set to 
autogenerate files.

There's the aidl TaskKey that can be overridden and so I was going for a 
task override like

aidl in Android := Seq(file("..."))

but I'm not familiar enough with sbt to understand how to retrieve base 
directory to produce an absolute path as required by the incremental 
compiler. The code is in a class that holds common code and a def apply for 
generating projects in the build.sbt file.

Right now I was about to try something like

aidl in Android := Seq((scalaSource in Compile).value / "...")

But I'm wondering if there's something more correct, or even if I could 
just override the hard coded aidl folder in intellij in the project files 
somewhere.

Thanks,
Daniel

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to