From 9116d6e92e14146216530e7fbc8675608cf88d09 Mon Sep 17 00:00:00 2001 From: Sean Keane Date: Wed, 1 Jan 2020 18:17:23 +0100 Subject: [PATCH] Removed main in SharedCode. Added sources for Android. Moved manifest within Android Common --- SharedCode/build.gradle | 21 +++++++++++++++++++ .../{main => androidMain}/AndroidManifest.xml | 0 2 files changed, 21 insertions(+) rename SharedCode/src/{main => androidMain}/AndroidManifest.xml (100%) diff --git a/SharedCode/build.gradle b/SharedCode/build.gradle index 83e7d898..d6a32b53 100644 --- a/SharedCode/build.gradle +++ b/SharedCode/build.gradle @@ -19,6 +19,27 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } + sourceSets { + main { + setRoot('src/androidMain') + } + release { + setRoot('src/androidMainRelease') + } + debug { + setRoot('src/androidMainDebug') + } + test { + setRoot('src/androidUnitTest') + } + testRelease { + setRoot('src/androidUnitTestRelease') + } + testDebug { + setRoot('src/androidUnitTestDebug') + } + } + buildTypes { release { minifyEnabled false diff --git a/SharedCode/src/main/AndroidManifest.xml b/SharedCode/src/androidMain/AndroidManifest.xml similarity index 100% rename from SharedCode/src/main/AndroidManifest.xml rename to SharedCode/src/androidMain/AndroidManifest.xml