for now I've resolved this with
aidl in Android := (aidl in Android).value.map(_ / "aidl")
though I'd really prefer intellij to not split up my gen files in sub
directories.
On Mon, Jul 7, 2014 at 4:42 PM, Daniel Skinner <[email protected]> wrote:
> 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 a topic in the
> Google Groups "scala-on-android" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/scala-on-android/lum5KrtnSao/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
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.