{"action":"created","issue":{"url":"https://api.github.com/repos/scalameter/scalameter/issues/166","repository_url":"https://api.github.com/repos/scalameter/scalameter","labels_url":"https://api.github.com/repos/scalameter/scalameter/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/scalameter/scalameter/issues/166/comments","events_url":"https://api.github.com/repos/scalameter/scalameter/issues/166/events","html_url":"https://github.com/scalameter/scalameter/issues/166","id":170007211,"number":166,"title":"There is no api under org.scalameter","user":{"login":"danielsan","id":261488,"avatar_url":"https://avatars.githubusercontent.com/u/261488?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsan","html_url":"https://github.com/danielsan","followers_url":"https://api.github.com/users/danielsan/followers","following_url":"https://api.github.com/users/danielsan/following{/other_user}","gists_url":"https://api.github.com/users/danielsan/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsan/subscriptions","organizations_url":"https://api.github.com/users/danielsan/orgs","repos_url":"https://api.github.com/users/danielsan/repos","events_url":"https://api.github.com/users/danielsan/events{/privacy}","received_events_url":"https://api.github.com/users/danielsan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-08T19:42:33Z","updated_at":"2016-08-13T07:46:41Z","closed_at":null,"body":"build.sbt\r\n```scala\r\nlazy val root = (project in file(\".\")).\r\n  settings(\r\n    name := \"project-name\",\r\n    version := \"0.0.1\",\r\n    scalaVersion := \"2.10.5\",\r\n    mainClass in Compile := Some(\"com.project.name.MyMainClass\")\r\n  )\r\nresolvers += \"Sonatype OSS Snapshots\" at \"https://oss.sonatype.org/content/repositories/releases\"\r\nlibraryDependencies += \"com.storm-enroute\" %% \"scalameter-core\" % \"0.7\r\n```\r\n\r\nwhen I run sbt console and I enter ```import org.scalameter.``` then I hit TAB, this is what I see:\r\n```scala\r\nscala> import org.scalameter.\r\nAggregator            Context               Event                 Events                Foreach               InvocationCount       Key                   KeyContainer          KeyValue              KeyWithDefault        \r\nKeyWithDefaultKey     KeyWithDefaultValue   Keys                  Log                   MeasureBuilder        MeasurementData       Measurer              MonadicDynVar         PicklerBasedKey       Quantity              \r\nWarmer                config                ctx                   currentContext        defaultClasspath      events                execution             extractClasspath      log                   measure               \r\nmeasureWith           measurer              package               picklers              regen                 resultFunction        setUp                 setup                 tearDown              teardown              \r\nutils                 warmer                withMeasurer          withTestContext       withWarmer  \r\n```\r\n\r\nThere is no **api** under **org.scalameter**, thus when I try to import it, this is what happens:\r\n```scala\r\nscala> import org.scalameter.api\r\n<console>:7: error: object api is not a member of package org.scalameter\r\n       import org.scalameter.api\r\n              ^\r\n```"},"comment":{"url":"https://api.github.com/repos/scalameter/scalameter/issues/comments/239608309","html_url":"https://github.com/scalameter/scalameter/issues/166#issuecomment-239608309","issue_url":"https://api.github.com/repos/scalameter/scalameter/issues/166","id":239608309,"user":{"login":"axel22","id":151774,"avatar_url":"https://avatars.githubusercontent.com/u/151774?v=3","gravatar_id":"","url":"https://api.github.com/users/axel22","html_url":"https://github.com/axel22","followers_url":"https://api.github.com/users/axel22/followers","following_url":"https://api.github.com/users/axel22/following{/other_user}","gists_url":"https://api.github.com/users/axel22/gists{/gist_id}","starred_url":"https://api.github.com/users/axel22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel22/subscriptions","organizations_url":"https://api.github.com/users/axel22/orgs","repos_url":"https://api.github.com/users/axel22/repos","events_url":"https://api.github.com/users/axel22/events{/privacy}","received_events_url":"https://api.github.com/users/axel22/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T07:46:41Z","updated_at":"2016-08-13T07:46:41Z","body":"That's because `api` is not a member of the `core` project.\r\n\r\nThe core project contains classes used to do inline benchmarking within your application. For these purposes, you can import `import org.scalameter._`. The full ScalaMeter artifact (for which you need `\"scalameter\"` instead of `\"scalameter-core\"` in your project definition) has the import `import org.scalameter.api._`."}}
{"actor":{"display_login":"axel22"}}