From cada2353c184ea2918cee09ce8c69a2e4b12a2eb Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 16 Apr 2021 21:06:30 +0530 Subject: build: add src/*/kotlin to Java sources Signed-off-by: Harsh Shandilya --- buildSrc/src/main/java/BaseProjectConfig.kt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'buildSrc/src/main/java/BaseProjectConfig.kt') 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") -- cgit v1.2.3