diff --git a/hideout-core/build.gradle.kts b/hideout-core/build.gradle.kts index 6ee22a5e..e9fa5de1 100644 --- a/hideout-core/build.gradle.kts +++ b/hideout-core/build.gradle.kts @@ -34,12 +34,22 @@ version = "0.0.1" sourceSets { create("intTest") { - compileClasspath += sourceSets.main.get().output - runtimeClasspath += sourceSets.main.get().output + test { + compileClasspath += sourceSets.main.get().output + runtimeClasspath += sourceSets.main.get().output + kotlin.srcDirs("src/intTest/kotlin") + java.srcDirs("src/intTest/java") + resources.srcDirs("src/intTest/resources") + } } create("e2eTest") { - compileClasspath += sourceSets.main.get().output - runtimeClasspath += sourceSets.main.get().output + test { + compileClasspath += sourceSets.main.get().output + runtimeClasspath += sourceSets.main.get().output + kotlin.srcDirs("src/e2eTest/kotlin") + java.srcDirs("src/e2eTest/java") + resources.srcDirs("src/e2eTest/resources") + } } }