{"action":"closed","issue":{"url":"https://api.github.com/repos/sbt/sbt/issues/2330","labels_url":"https://api.github.com/repos/sbt/sbt/issues/2330/labels{/name}","comments_url":"https://api.github.com/repos/sbt/sbt/issues/2330/comments","events_url":"https://api.github.com/repos/sbt/sbt/issues/2330/events","html_url":"https://github.com/sbt/sbt/issues/2330","id":123387140,"number":2330,"title":"ivyPaths in globalSettings for a plugin","user":{"login":"joan38","id":1200478,"avatar_url":"https://avatars.githubusercontent.com/u/1200478?v=3","gravatar_id":"","url":"https://api.github.com/users/joan38","html_url":"https://github.com/joan38","followers_url":"https://api.github.com/users/joan38/followers","following_url":"https://api.github.com/users/joan38/following{/other_user}","gists_url":"https://api.github.com/users/joan38/gists{/gist_id}","starred_url":"https://api.github.com/users/joan38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joan38/subscriptions","organizations_url":"https://api.github.com/users/joan38/orgs","repos_url":"https://api.github.com/users/joan38/repos","events_url":"https://api.github.com/users/joan38/events{/privacy}","received_events_url":"https://api.github.com/users/joan38/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-22T00:25:41Z","updated_at":"2015-12-29T18:14:49Z","closed_at":"2015-12-29T18:14:49Z","body":"Hi,\r\n\r\n```scala\r\nobject BlaBlaPlugin extends AutoPlugin {\r\n\r\n  object autoImport {\r\n    lazy val blabla = settingKey[Unit](\"\")\r\n  }\r\n  import autoImport._\r\n\r\n  override lazy val globalSettings = Seq(\r\n    blabla := println(ivyPaths.value.ivyHome.get.getPath)\r\n  )\r\n}\r\n```\r\n\r\n```\r\n[error] Reference to undefined setting:\r\n[error]\r\n[error]   */*:ivyPaths from */*:blabla ((BlaBlaPlugin) BlaBlaPlugin.scala:11)\r\n```\r\n\r\nIsn't ivyPaths defined at a Global scope?\r\nI can access it in `.sbt/global.sbt` but not in the globalSettings of a plugin.\r\n\r\nMerry christmas"}}