Skip to content

Commit

Permalink
updating version range to 3.4.2 and 3.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolanrensen committed Mar 17, 2024
1 parent d787f9d commit cda9548
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 69 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,8 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
scala: [ "2.12.17", "2.13.10" ]
spark: [ "3.3.2", "3.3.1", "3.3.0", "3.2.3", "3.2.2", "3.2.1", "3.2.0", "3.1.3", "3.1.2", "3.1.1", "3.1.0", "3.0.3", "3.0.2", "3.0.1", "3.0.0" ]
exclude:
- scala: "2.13.10"
spark: "3.1.3"
- scala: "2.13.10"
spark: "3.1.2"
- scala: "2.13.10"
spark: "3.1.1"
- scala: "2.13.10"
spark: "3.1.0"
- scala: "2.13.10"
spark: "3.0.3"
- scala: "2.13.10"
spark: "3.0.2"
- scala: "2.13.10"
spark: "3.0.1"
- scala: "2.13.10"
spark: "3.0.0"
scala: [ "2.12.19", "2.13.13" ]
spark: [ "3.4.2", "3.5.1" ]
runs-on: ubuntu-latest

steps:
Expand Down
21 changes: 2 additions & 19 deletions .github/workflows/publish_dev_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,8 @@ jobs:
build-and-deploy:
strategy:
matrix:
scala: [ "2.12.17", "2.13.10" ]
spark: [ "3.3.2", "3.3.1", "3.3.0", "3.2.3", "3.2.2", "3.2.1", "3.2.0", "3.1.3", "3.1.2", "3.1.1", "3.1.0", "3.0.3", "3.0.2", "3.0.1", "3.0.0" ]
exclude:
- scala: "2.13.10"
spark: "3.1.3"
- scala: "2.13.10"
spark: "3.1.2"
- scala: "2.13.10"
spark: "3.1.1"
- scala: "2.13.10"
spark: "3.1.0"
- scala: "2.13.10"
spark: "3.0.3"
- scala: "2.13.10"
spark: "3.0.2"
- scala: "2.13.10"
spark: "3.0.1"
- scala: "2.13.10"
spark: "3.0.0"
scala: [ "2.12.19", "2.13.13" ]
spark: [ "3.4.2", "3.5.1" ]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
21 changes: 2 additions & 19 deletions .github/workflows/publish_release_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,8 @@ jobs:
build-and-deploy-mvn-central:
strategy:
matrix:
scala: [ "2.12.17", "2.13.10" ]
spark: [ "3.3.2", "3.3.1", "3.3.0", "3.2.3", "3.2.2", "3.2.1", "3.2.0", "3.1.3", "3.1.2", "3.1.1", "3.1.0", "3.0.3", "3.0.2", "3.0.1", "3.0.0" ]
exclude:
- scala: "2.13.10"
spark: "3.1.3"
- scala: "2.13.10"
spark: "3.1.2"
- scala: "2.13.10"
spark: "3.1.1"
- scala: "2.13.10"
spark: "3.1.0"
- scala: "2.13.10"
spark: "3.0.3"
- scala: "2.13.10"
spark: "3.0.2"
- scala: "2.13.10"
spark: "3.0.1"
- scala: "2.13.10"
spark: "3.0.0"
scala: [ "2.12.19", "2.13.13" ]
spark: [ "3.4.2", "3.5.1" ]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ object Dependencies {
inline val kotlinScriptingCommon get() = "org.jetbrains.kotlin:kotlin-scripting-common"
inline val kotlinScriptingJvm get() = "org.jetbrains.kotlin:kotlin-scripting-jvm"
inline val jacksonDatabind get() = "com.fasterxml.jackson.core:jackson-databind:${Versions.jacksonDatabind}"
inline val kotlinDateTime get() = "org.jetbrains.kotlinx:kotlinx-datetime:${Versions.kotlinxDateTime}"
}


Expand Down
7 changes: 4 additions & 3 deletions buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
object Versions {
const val project = "1.2.5-SNAPSHOT"
const val groupID = "org.jetbrains.kotlinx.spark"
const val kotlin = "1.8.20"
const val kotlin = "1.9.22"
const val jvmTarget = "8"
const val jupyterJvmTarget = "8"

inline val spark get() = System.getProperty("spark") as String

inline val scala get() = System.getProperty("scala") as String
inline val sparkMinor get() = spark.substringBeforeLast('.')
inline val scalaCompat get() = scala.substringBeforeLast('.')

const val jupyter = "0.12.0-32-1"

const val kotest = "5.5.4"
const val kotestTestContainers = "1.3.3"
const val dokka = "1.8.20"
Expand All @@ -23,6 +23,7 @@ object Versions {
const val kotlinxHtml = "0.7.5"
const val klaxon = "5.5"
const val jacksonDatabind = "2.13.4.2"
const val kotlinxDateTime = "0.6.0-RC.2"

inline val versionMap
get() = mapOf(
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ GROUP=org.jetbrains.kotlinx.spark

# Controls the spark and scala version for the entire project
# can also be defined like ./gradlew -Pspark=X.X.X -Pscala=X.X.X build
spark=3.3.2
scala=2.13.10
# scala=2.12.17
spark=3.5.1
scala=2.13.13
# scala=2.12.19
skipScalaTuplesInKotlin=false

org.gradle.caching=true
Expand Down
6 changes: 2 additions & 4 deletions kotlin-spark-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ tasks.withType<Test>().configureEach {
dependencies {

with(Projects) {
api(
core,
scalaTuplesInKotlin,
)
api(scalaTuplesInKotlin)
}

with(Dependencies) {
Expand All @@ -46,6 +43,7 @@ dependencies {
sparkSql,
sparkStreaming,
hadoopClient,
kotlinDateTime,
)

testImplementation(
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ val versions = "${spark}_${scalaCompat}"

rootProject.name = "kotlin-spark-api-parent_$versions"

include("core")
//include("core")
include("scala-tuples-in-kotlin")
include("kotlin-spark-api")
include("jupyter")
include("examples")

project(":core").name = "core_$versions"
//project(":core").name = "core_$versions"
project(":scala-tuples-in-kotlin").name = "scala-tuples-in-kotlin_$scalaCompat"
project(":kotlin-spark-api").name = "kotlin-spark-api_$versions"
project(":jupyter").name = "jupyter_$versions"
Expand Down

0 comments on commit cda9548

Please sign in to comment.