Skip to content

Fix/classnotfound exception #429

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
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 .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup Kotlin
uses: fwilhe2/setup-kotlin@main
with:
version: 1.7.21
version: 2.0.0

- name: Setup Gradle
uses: gradle/gradle-build-action@v2.4.2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
if: matrix.variant == 'sdkman'
shell: bash
run: |
bash -c "curl -s "https://get.sdkman.io" | bash"
bash -c "curl -s "https://get.sdkman.io?ci=true" | bash"
source "$HOME/.sdkman/bin/sdkman-init.sh"

sdk install kscript ${{ env.KSCRIPT_VERSION }}
Expand Down
14 changes: 8 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import org.jetbrains.kotlin.util.capitalizeDecapitalize.toLowerCaseAsciiOnly
import java.time.ZoneOffset
import java.time.ZonedDateTime

val kotlinVersion: String = "1.7.21"
val kotlinVersion: String = "2.0.0"

plugins {
kotlin("jvm") version "1.7.21"
kotlin("jvm") version "2.0.0"
application
id("com.adarshr.test-logger") version "3.2.0"
id("com.github.gmazzo.buildconfig") version "3.1.0"
Expand Down Expand Up @@ -291,11 +291,13 @@ dependencies {

implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0") // Updated version

implementation("org.jetbrains.kotlin:kotlin-scripting-common:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-scripting-jvm:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-scripting-dependencies-maven-all:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-scripting-common:$kotlinVersion") // Retained, will use new kotlinVersion
implementation("org.jetbrains.kotlin:kotlin-scripting-jvm:$kotlinVersion") // Retained, will use new kotlinVersion
// Replaced kotlin-scripting-dependencies-maven-all with more specific artifacts as per subtask
implementation("org.jetbrains.kotlin:kotlin-scripting-dependencies:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-scripting-dependencies-maven:$kotlinVersion")

implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("commons-io:commons-io:2.11.0")
Expand Down
Loading
Loading