As described in the gradle scala plugin, you can change the location of the source and test directory by adding something like the following:
sourceSets {
main {
scala {
srcDirs = ['src/scala']
}
}
test {
scala {
srcDirs = ['test/scala']
}
}
}