Skip to content

Commit

Permalink
Set program to be compatible with Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalkin committed Jun 12, 2021
1 parent 7644b33 commit a293d52
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions buildSrc/src/main/kotlin/scaffolding.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,21 @@ plugins {

repositories {
mavenCentral()
// maven {
// url = uri("https://kotlin.bintray.com/kotlinx")
// }
}


dependencies {
// runtimeOnly("org.jetbrains.kotlin:kotlin-reflect:1.5.0-RC") // only needed for the RC

// JUnit
testImplementation(kotlin("test-junit5"))
// testImplementation("org.junit.jupiter:junit-jupiter-api:5.7.0")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.7.2")
}

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

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "15"
kotlinOptions.jvmTarget = "11"
}

tasks.test {
Expand Down

0 comments on commit a293d52

Please sign in to comment.