Skip to content

Commit

Permalink
Fix scala dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnbroad committed Feb 6, 2023
1 parent 0da285d commit 5ab8720
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ configurations {
exclude module: 'javax.servlet'
exclude module: 'servlet-api'
exclude group: 'com.esotericsoftware.kryo'
exclude module: 'spark-mllib_2.12'
exclude module: 'spark-mllib_2.12.15'
exclude group: 'org.scala-lang'
exclude module: 'kryo'
}
Expand Down Expand Up @@ -313,7 +313,10 @@ dependencies {
implementation ('org.ojalgo:ojalgo-commons-math3:1.0.0') {
exclude group: 'org.apache.commons'
}
implementation ('org.apache.spark:spark-mllib_' + scalaVersion + ':' + sparkVersion) {

//TODO: there is no mllib_2.12.15:3.3.0
//implementation ('org.apache.spark:spark-mllib_' + scalaVersion + ':' + sparkVersion) {
implementation ('org.apache.spark:spark-mllib_2.12:3.3.0') {
// JUL is used by Google Dataflow as the backend logger, so exclude jul-to-slf4j to avoid a loop
exclude module: 'jul-to-slf4j'
exclude module: 'javax.servlet'
Expand All @@ -322,7 +325,8 @@ dependencies {
implementation 'com.thoughtworks.paranamer:paranamer:2.8'

implementation 'org.bdgenomics.bdg-formats:bdg-formats:0.5.0'
implementation('org.bdgenomics.adam:adam-core-spark2_' + scalaVersion + ':0.28.0') {
//implementation('org.bdgenomics.adam:adam-core-spark2_' + scalaVersion + ':0.28.0') {
implementation('org.bdgenomics.adam:adam-core-spark2_2.12:0.28.0') {
exclude group: 'org.slf4j'
exclude group: 'org.apache.hadoop'
exclude group: 'org.scala-lang'
Expand Down Expand Up @@ -376,7 +380,8 @@ dependencies {

// natural sort
implementation('net.grey-panther:natural-comparator:1.1')
implementation('com.fasterxml.jackson.module:jackson-module-scala_' + scalaVersion + ':2.9.8')
//implementation('com.fasterxml.jackson.module:jackson-module-scala_' + scalaVersion + ':2.9.8')
implementation('com.fasterxml.jackson.module:jackson-module-scala_2.12:2.9.8')

testUtilsImplementation sourceSets.main.output
testUtilsImplementation 'org.testng:testng:' + testNGVersion
Expand Down

0 comments on commit 5ab8720

Please sign in to comment.