@@ -3,7 +3,7 @@ import xerial.sbt.Sonatype.GitHubHosting
3
3
4
4
ThisBuild / version := " 0.1.11"
5
5
6
- ThisBuild / scalaVersion := scala.util.Properties .envOrElse(" SCALA_VERSION" , " 2.12.15" ) // "2.13.14"
6
+ ThisBuild / scalaVersion := scala.util.Properties .envOrElse(" SCALA_VERSION" , " 2.12.15" ) // "2.13.14", "2.12.15"
7
7
ThisBuild / organization := " com.stabrise"
8
8
ThisBuild / organizationName := " StabRise"
9
9
ThisBuild / organizationHomepage := Some (url(" https://www.stabrise.com" ))
@@ -16,18 +16,18 @@ ThisBuild / scmInfo := Some(
16
16
)
17
17
)
18
18
19
- ThisBuild / sonatypeProjectHosting := Some (GitHubHosting (" StabRise" , " spark-pdf" , " kolia1985 @gmail.com" ))
19
+ ThisBuild / sonatypeProjectHosting := Some (GitHubHosting (" StabRise" , " spark-pdf" , " mykola.melnyk.ml @gmail.com" ))
20
20
ThisBuild / versionScheme := Some (" early-semver" )
21
21
ThisBuild / developers := List (
22
22
Developer (
23
- id = " kolia1985 " ,
23
+ id = " mykolamelnykml " ,
24
24
name = " Mykola Melnyk" ,
25
- email = " kolia1985 @gmail.com" ,
25
+ email = " mykola.melnyk.ml @gmail.com" ,
26
26
url = url(" https://stabrise.com" )
27
27
)
28
28
)
29
29
30
- ThisBuild / description := " PDF Datasource for Apache Spark. Read PDF files to the DataFrame."
30
+ ThisBuild / description := " PDF Datasource for Apache Spark. Read PDF files lazy to the DataFrame."
31
31
ThisBuild / licenses := List (" AGPL-V3" -> new URL (" https://www.gnu.org/licenses/agpl-3.0.html" ))
32
32
ThisBuild / homepage := Some (url(" https://stabrise.com/spark-pdf/" ))
33
33
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
@@ -37,7 +37,8 @@ ThisBuild / publishTo := sonatypePublishToBundle.value
37
37
root / Test / classLoaderLayeringStrategy := ClassLoaderLayeringStrategy .ScalaLibrary
38
38
root / Test / classLoaderLayeringStrategy := ClassLoaderLayeringStrategy .Flat
39
39
40
- val sparkVersion = scala.util.Properties .envOrElse(" SPARK_VERSION" , " 3.5.3" ) // "4.0.0-preview2", "3.4.1", "3.3.2
40
+ // "4.0.0-preview2", "3.5.3","3.4.1", "3.3.2
41
+ val sparkVersion = scala.util.Properties .envOrElse(" SPARK_VERSION" , " 3.5.3" )
41
42
42
43
val packageName =
43
44
sparkVersion match {
@@ -145,7 +146,8 @@ lazy val assemblySettings = Seq(
145
146
case PathList (ps @ _* ) if ps.filter(_.contains ( " macos" )).nonEmpty => MergeStrategy .discard
146
147
case PathList (ps @ _* ) if ps.filter(_.contains ( " windows" )).nonEmpty => MergeStrategy .discard
147
148
case PathList (ps @ _* ) if ps.filter(_.contains ( " ios" )).nonEmpty => MergeStrategy .discard
148
- case PathList (ps @ _* ) if ps.filter(p => p.contains(" linux-arm" ) || p.contains(" arm64-v8a" ) || p.contains(" armeabi" ) ).nonEmpty => MergeStrategy .discard
149
+ case PathList (ps @ _* ) if ps.filter(p => p.contains(" linux-arm" ) || p.contains(" arm64-v8a" ) ||
150
+ p.contains(" armeabi" ) ).nonEmpty => MergeStrategy .discard
149
151
case PathList (ps @ _* ) if ps.filter(_.contains(" linux-ppc" )).nonEmpty => MergeStrategy .discard
150
152
case PathList (ps @ _* ) if ps.filter(_.contentEquals(" linux-x86" )).nonEmpty => MergeStrategy .discard
151
153
case PathList (ps @ _* ) if ps.filter(_.contentEquals(" windows-x86" )).nonEmpty => MergeStrategy .discard
@@ -155,7 +157,9 @@ lazy val assemblySettings = Seq(
155
157
case " StaticLoggerBinder" => MergeStrategy .discard
156
158
case PathList (" net" , " imglib2" , " util" , " StopWatch.class" ) => MergeStrategy .first
157
159
case PathList (" META-INF" , fileName)
158
- if List (" NOTICE" , " MANIFEST.MF" , " DEPENDENCIES" , " INDEX.LIST" ).contains(fileName) || fileName.endsWith(" .txt" ) || fileName.endsWith(" .RSA" ) || fileName.endsWith(" .DSA" ) || fileName.endsWith(" .SF" )
160
+ if List (" NOTICE" , " MANIFEST.MF" , " DEPENDENCIES" , " INDEX.LIST" ).contains(fileName) ||
161
+ fileName.endsWith(" .txt" ) || fileName.endsWith(" .RSA" ) ||
162
+ fileName.endsWith(" .DSA" ) || fileName.endsWith(" .SF" )
159
163
=> MergeStrategy .discard
160
164
case " META-INF/services/javax.imageio.spi.ImageReaderSpi" => MergeStrategy .concat
161
165
case PathList (" META-INF" , " services" , _@_* ) => MergeStrategy .first
0 commit comments