{"issue":{"state":"open","created_at":"2011-11-25T20:01:41Z","updated_at":"2011-11-25T20:01:41Z","user":{"gravatar_id":"1162223fb00858762a09be27613a5876","id":334914,"url":"https://api.github.com/users/glenviewjeff","login":"glenviewjeff","avatar_url":"https://secure.gravatar.com/avatar/1162223fb00858762a09be27613a5876?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"I first ran into this problem when trying to run the sbteclipse plugin and submitted [the issue there](https://github.com/typesafehub/sbteclipse/issues/55).  However, I see it causes problems when trying to use and run a standard test project with the android-plugin.\r\n\r\n\r\n```sbt tests/android:package-debug\r\n[info] Updating {file:/D:/Workspace/my-project/}tests...\r\n[error] a module is not authorized to depend on itself: my-project#my-project_2.9.0-1;0.1```\r\n\r\nIf you actually want to use a test project and run tests, thanks to [this thread](https://groups.google.com/d/msg/scala-on-android/L8koGAyM0fU/xCh3bCryBLUJ), I learned that you can just change the name of the test project like this:\r\n\r\n``` settings = General.settings ++ AndroidTest.androidSettings ++ Seq(\r\n      name := \"MyScalaProjectTest\", \r\n      ...\r\n  ) dependsOn main```\r\n","assignee":null,"id":2351916,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":95,"title":"sbt android project error: a module is not authorized to depend on itself","closed_at":null,"html_url":"https://github.com/jberkel/android-plugin/issues/95","url":"https://api.github.com/repos/jberkel/android-plugin/issues/95","milestone":null},"action":"opened"}