diff --git a/README.md b/README.md index 1f38b6b..451bdf2 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,12 @@ That is, if you supply a Google Analytics tracking ID, the head of all pages wil 1. Include the dependency: + // For Lift 3.2.x (Scala 2.12): + "net.liftmodules" %% "google-analytics_3.2" % "1.2.0-SNAPSHOT" + + Note that from 1.2.0 onwards this module switched to using Google Tag Manager (via [#8](https://github.com/d6y/liftmodules-googleanalytics/pull/8)). + The versions below use the older `ga.js` approach. + // For Lift 3.1.x (Scala 2.12): "net.liftmodules" %% "google-analytics_3.1" % "1.1.0-SNAPSHOT" diff --git a/build.sbt b/build.sbt index 03ee4ed..44d799c 100644 --- a/build.sbt +++ b/build.sbt @@ -5,7 +5,7 @@ name := "google-analytics" organization := "net.liftmodules" -version := "1.1.1-SNAPSHOT" +version := "1.2.0-SNAPSHOT" liftVersion := "3.2.0" @@ -27,6 +27,11 @@ resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repo libraryDependencies += "net.liftweb" %% "lift-webkit" % liftVersion.value % "provided" +publishTo := (version.value.endsWith("SNAPSHOT") match { + case true => Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots") + case false => Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2") + } +) credentials ++= (for { username <- Option(System.getenv().get("SONATYPE_USERNAME")) password <- Option(System.getenv().get("SONATYPE_PASSWORD")) diff --git a/project/plugins.sbt b/project/plugins.sbt deleted file mode 100644 index 840d30d..0000000 --- a/project/plugins.sbt +++ /dev/null @@ -1,2 +0,0 @@ -addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0") - diff --git a/sbt b/sbt deleted file mode 100755 index 6ca2c60..0000000 --- a/sbt +++ /dev/null @@ -1,2 +0,0 @@ -java -XX:MaxPermSize=256m -Xmx512M -Xss2M -XX:+CMSClassUnloadingEnabled $WITH_REBEL -jar `dirname $0`/sbt-launch.jar "$@" - diff --git a/sbt-launch.jar b/sbt-launch.jar deleted file mode 100644 index 84fd9b7..0000000 Binary files a/sbt-launch.jar and /dev/null differ