Skip to content

Commit

Permalink
Modularize more deps (#481)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelbranco80 authored Aug 8, 2024
1 parent 74135a1 commit 80df3f4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import raw.build.BuildSettings._

import scala.sys.process._

import com.jsuereth.sbtpgp.PgpKeys.{publishSigned}
import com.jsuereth.sbtpgp.PgpKeys.publishSigned

ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
Expand Down
12 changes: 10 additions & 2 deletions deps/others/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,18 @@ val mysqlModule = "com.mysql" % "mysql-connector-j" % "8.1.0"

val ojdbc10 = "com.oracle.database.jdbc" % "ojdbc10" % "19.23.0.0"

val dropboxSDK = "com.dropbox.core" % "dropbox-core-sdk" % "5.4.5"

val snowflakeDeps = "net.snowflake" % "snowflake-jdbc" % "3.13.33"

libraryDependencies ++= Seq(
jwtCore,
scalaLogging,
jacksonModuleScala,
mysqlModule,
ojdbc10
ojdbc10,
dropboxSDK,
snowflakeDeps
)

// Map of artifact ID to module name
Expand All @@ -29,7 +35,9 @@ val moduleNames = Map(
"scala-logging" -> "typesafe.scalalogging",
"jackson-module-scala" -> "com.fasterxml.jackson.scala",
"mysql-connector-j" -> "mysql.connector.j",
"ojdbc10" -> "ojdbc10"
"ojdbc10" -> "ojdbc10",
"dropbox-core-sdk" -> "dropbox.core.sdk",
"snowflake-jdbc" -> "snowflake.jdbc"
)

def updatePom(pomFile: File, newVersion: String): Unit = {
Expand Down

0 comments on commit 80df3f4

Please sign in to comment.