From db83e9d4c34f50fa0627a6787d7a6fa337459147 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Thu, 11 Apr 2024 22:40:11 -0500 Subject: [PATCH] Fix build --- build.gradle | 10 ++++++++++ {src => java}/playstore/AndroidManifest.xml | 0 .../futo/inputmethod/latin/CrashLoggingApplication.kt | 0 {src => java}/stable/AndroidManifest.xml | 0 .../futo/inputmethod/latin/CrashLoggingApplication.kt | 0 5 files changed, 10 insertions(+) rename {src => java}/playstore/AndroidManifest.xml (100%) rename {src => java}/playstore/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt (100%) rename {src => java}/stable/AndroidManifest.xml (100%) rename {src => java}/stable/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt (100%) diff --git a/build.gradle b/build.gradle index d10ea21d8..20507f723 100644 --- a/build.gradle +++ b/build.gradle @@ -149,6 +149,16 @@ android { manifest.srcFile 'java/AndroidManifest.xml' } + playstore { + java.srcDirs = ['common/src', 'java/src', 'java/playstore/java'] + manifest.srcFile 'java/playstore/AndroidManifest.xml' + } + + stable { + java.srcDirs = ['common/src', 'java/src', 'java/stable/java'] + manifest.srcFile 'java/stable/AndroidManifest.xml' + } + androidTest { res.srcDirs = ['tests/res'] java.srcDirs = ['tests/src'] diff --git a/src/playstore/AndroidManifest.xml b/java/playstore/AndroidManifest.xml similarity index 100% rename from src/playstore/AndroidManifest.xml rename to java/playstore/AndroidManifest.xml diff --git a/src/playstore/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt b/java/playstore/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt similarity index 100% rename from src/playstore/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt rename to java/playstore/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt diff --git a/src/stable/AndroidManifest.xml b/java/stable/AndroidManifest.xml similarity index 100% rename from src/stable/AndroidManifest.xml rename to java/stable/AndroidManifest.xml diff --git a/src/stable/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt b/java/stable/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt similarity index 100% rename from src/stable/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt rename to java/stable/java/org/futo/inputmethod/latin/CrashLoggingApplication.kt