Skip to content

Instantly share code, notes, and snippets.

@reynoldsm88
Created August 22, 2019 21:47
Show Gist options
  • Save reynoldsm88/9082eaf42401f41abe08a473b6563823 to your computer and use it in GitHub Desktop.
Save reynoldsm88/9082eaf42401f41abe08a473b6563823 to your computer and use it in GitHub Desktop.
lazy val root = ( project in file( "." ) ).settings( libraryDependencies ++= clulabProcessors
++ kafka
++ logging
++ scalaTest
++ embeddedKafka
++ scalaMock, // the mess below is to resolve conflicting versions of various dependencies
excludeDependencies ++= Seq( ExclusionRule( "org.slf4j", "slf4j-log4j12" ),
ExclusionRule( "javax.ws.rs", "javax.ws.rs-api" ), // out of date because of oracle jee debacle
ExclusionRule( "commons-beanutils", "commons-beanutils-core" ), // bean utils and collections
// conflict
// ExclusionRule( "commons-collections", "commons-collections" ),
ExclusionRule( "javax.servlet", "servlet-api" ), // this is a old servlet api artifact, use new
ExclusionRule( "io.netty", "netty-all" ) ), // hbase shades some netty jars, we prefer the hbase
dependencyOverrides ++= Seq( //"commons-collections" % "commons-collections" % "3.2.1",
"commons-beanutils" % "commons-beanutils" % "1.9.2",
"com.google.protobuf" % "protobuf-java" % "2.5.0" ) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment