diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-04-16 21:06:30 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-04-17 20:33:06 +0530 |
commit | cada2353c184ea2918cee09ce8c69a2e4b12a2eb (patch) | |
tree | c26f7efaf2fd6fd49aed9513d902694987fb0b9c /buildSrc/src/main | |
parent | 1b0eb304dea5e163d8216999fab5f1a4ca7d1fca (diff) |
build: add src/*/kotlin to Java sources
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'buildSrc/src/main')
-rw-r--r-- | buildSrc/src/main/java/BaseProjectConfig.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/buildSrc/src/main/java/BaseProjectConfig.kt b/buildSrc/src/main/java/BaseProjectConfig.kt index 722383c8..600a2e41 100644 --- a/buildSrc/src/main/java/BaseProjectConfig.kt +++ b/buildSrc/src/main/java/BaseProjectConfig.kt @@ -114,6 +114,11 @@ internal fun TestedExtension.configureCommonAndroidOptions() { targetSdkVersion(29) } + sourceSets { + named("main") { java.srcDirs("src/main/kotlin") } + named("test") { java.srcDirs("src/test/kotlin") } + } + packagingOptions { exclude("**/*.version") exclude("**/*.txt") |