Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
irmen committed Nov 29, 2024
1 parent dcbb36a commit da03941
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions beanshell/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ plugins {
kotlin("jvm")
}

java {
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
}

kotlin {
compilerOptions.jvmTarget = JvmTarget.JVM_11
}

val serverMainClassName = "prog8lsp.MainKt"
val applicationName = "prog8-beanshell"
val javaVersion: String by project

application {
mainClass.set(serverMainClassName)
Expand Down Expand Up @@ -45,11 +53,6 @@ sourceSets.main {
resources.srcDir("resources")
}

sourceSets.test {
java.srcDir("src")
resources.srcDir("resources")
}

tasks.startScripts {
applicationName = "prog8-beanshell"
}
Expand All @@ -62,26 +65,10 @@ tasks.register<Exec>("fixFilePermissions") {
commandLine("chmod", "+x", "${tasks.installDist.get().destinationDir}/bin/prog8-beanshell")
}

tasks.withType<Test>() {
testLogging {
events("failed")
exceptionFormat = org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
}
}

tasks.installDist {
finalizedBy("fixFilePermissions")
}

tasks.build {
finalizedBy("installDist")
}

java {
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_11
}

kotlin {
compilerOptions.jvmTarget = JvmTarget.JVM_11
}
Binary file added examples/cx16/zsmkit_v1/lib/zsmkit-0830.bin
Binary file not shown.
Binary file added examples/cx16/zsmkit_v1/lib/zsmkit-8c00.bin
Binary file not shown.

0 comments on commit da03941

Please sign in to comment.