https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
g

GarouDan

01/30/2019, 6:54 PM
If we have the following in our sourceSet
Copy code
sourceSets {
		jvmMain {
			kotlin.srcDirs "src/main/kotlin"
			resources.srcDir "src/main/resources"
			
			...
		}
where we are changing the dirs for the jvm target, how can we do the same for the tests folder? I tried some variations like this one:
Copy code
kotlinTest.srcDirs "src/main/test"
testResources.srcDir "src/test/resources"
but it didn’t work. Is there a doc or a place where I can find the available options?
d

Dominaezzz

01/30/2019, 6:58 PM
Just like
jvmMain
, do
jvmTest { kotlin.srcDirs .... }
.
g

GarouDan

01/30/2019, 8:45 PM
Thanks a lot ;)
11 Views