diff --git a/app/build.gradle b/app/build.gradle index 33bdb0a34..1421fb0c3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,7 +51,9 @@ android { sourceSets { main.java.srcDirs += 'src/main/kotlin' - main.java.srcDirs += 'src/proprietary/kotlin' + if (is_proprietary) { + main.java.srcDirs += 'src/proprietary/kotlin' + } } flavorDimensions "licensing"