Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize more deps #481

Merged
merged 2 commits into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading