Skip to content

Commit

Permalink
Sourcesets
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDog896 committed Dec 6, 2020
1 parent bbe9ae4 commit 5974419
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ tasks.withType<Test> {
useJUnitPlatform()
}

configure<SourceSetContainer> {
named("main") {
java.srcDir("src/main/kotlin")
}
}

java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
Expand Down

0 comments on commit 5974419

Please sign in to comment.