jberkel / android-plugin

An sbt plugin for Android development in Scala
https://groups.google.com/forum/#!forum/scala-on-android
Other
476 stars 113 forks source link

Set non-default package to enable import to other plugins #147

Open mpeltonen opened 11 years ago

mpeltonen commented 11 years ago

I'm planning to add some support for Android facet creation to sbt-idea, but immediately ran into problem that I can't import AndroidKeys to my named package because it resides in default package. This seems to be Java/Scala restriction.

I got the import working by moving android plugin code from default package to a named package.

mkneissl commented 11 years ago

+1

I stumbled upon this problem today and learned something about Scala the hard way (by looking at the wrong places for a long time). The default package is evil.