Skip to content

Commit

Permalink
Make compiling possible without internal dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
markvandertol committed Aug 17, 2021
1 parent b8697f1 commit a7d441c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 68 deletions.
21 changes: 0 additions & 21 deletions README.md
Expand Up @@ -29,12 +29,6 @@ Since version `3.0.0`:
libraryDependencies += "com.newmotion" %% "akka-rabbitmq" % "6.0.0"
```

To add earlier releases as a dependency, you have to add the NewMotion public repository to your resolver list:
``` scala
resolvers += "New Motion Repository" at "https://nexus.thenewmotion.com/content/groups/public/"
libraryDependencies += "com.thenewmotion.akka" %% "akka-rabbitmq" % "2.3"
```

### Maven
Since version `6.0.0`
```xml
Expand Down Expand Up @@ -63,21 +57,6 @@ Since version `3.0.0`
</dependency>
```

For prior releases
```xml
<repository>
<id>thenewmotion</id>
<name>New Motion Repository</name>
<url>http://nexus.thenewmotion.com/content/groups/public/</url>
</repository>
...
<dependency>
<groupId>com.thenewmotion</groupId>
<artifactId>akka-rabbitmq_{2.11/2.12}</artifactId>
<version>2.3</version>
</dependency>
```

## Tutorial in comparisons
Before start, you need to add import statement

Expand Down
6 changes: 2 additions & 4 deletions build.sbt
@@ -1,17 +1,15 @@
organization := "com.newmotion"
name := "akka-rabbitmq"

enablePlugins(OssLibPlugin)

licenses := Seq(
("Apache License, Version 2.0",
url("http://www.apache.org/licenses/LICENSE-2.0")))

homepage := Some(new URL("https://github.com/NewMotion/akka-rabbitmq"))

scalaVersion := tnm.ScalaVersion.curr
scalaVersion := "2.13.3"

crossScalaVersions := Seq(tnm.ScalaVersion.curr, tnm.ScalaVersion.prev)
crossScalaVersions := Seq("2.13.3", "2.12.12")

def akka(name: String): ModuleID = "com.typesafe.akka" %% s"akka-$name" % "2.6.+"

Expand Down
4 changes: 0 additions & 4 deletions project/plugins.sbt
@@ -1,7 +1,3 @@
resolvers += "NewMotion" at "https://nexus.thenewmotion.com/content/groups/public"

addSbtPlugin("com.newmotion" % "sbt-build-seed" % "5.1.0")

addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.3")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.9.4")
Expand Down
39 changes: 0 additions & 39 deletions sonatype.sbt

This file was deleted.

0 comments on commit a7d441c

Please sign in to comment.