diff --git a/base-prefs/src/main/AndroidManifest.xml b/base-prefs/src/main/AndroidManifest.xml deleted file mode 100644 index b7e9447f..00000000 --- a/base-prefs/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/base-translations/src/main/AndroidManifest.xml b/base-translations/src/main/AndroidManifest.xml deleted file mode 100644 index 0a4c103c..00000000 --- a/base-translations/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/browser-preferred/src/main/AndroidManifest.xml b/browser-preferred/src/main/AndroidManifest.xml deleted file mode 100644 index 8cbcabf7..00000000 --- a/browser-preferred/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/AlwaysViewHolder.kt b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/AlwaysViewHolder.kt index 31251b4c..1158b96d 100644 --- a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/AlwaysViewHolder.kt +++ b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/AlwaysViewHolder.kt @@ -3,6 +3,7 @@ package com.tasomaniac.openwith.browser import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView +import com.tasomaniac.openwith.browser.preferred.R import com.tasomaniac.openwith.extensions.inflate import kotlinx.android.extensions.LayoutContainer import kotlinx.android.synthetic.main.browser_list_item.browserIcon diff --git a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/BrowserViewHolder.kt b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/BrowserViewHolder.kt index 388558bb..bc175820 100644 --- a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/BrowserViewHolder.kt +++ b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/BrowserViewHolder.kt @@ -5,9 +5,10 @@ import android.view.View import android.view.ViewGroup import androidx.core.view.isGone import androidx.recyclerview.widget.RecyclerView +import com.tasomaniac.openwith.browser.preferred.R +import com.tasomaniac.openwith.extensions.componentName import com.tasomaniac.openwith.extensions.inflate import com.tasomaniac.openwith.resolver.DisplayActivityInfo -import com.tasomaniac.openwith.extensions.componentName import kotlinx.android.extensions.LayoutContainer import kotlinx.android.synthetic.main.browser_list_item.browserIcon import kotlinx.android.synthetic.main.browser_list_item.browserInfo diff --git a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/NoneViewHolder.kt b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/NoneViewHolder.kt index 10574968..5203b462 100644 --- a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/NoneViewHolder.kt +++ b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/NoneViewHolder.kt @@ -3,6 +3,7 @@ package com.tasomaniac.openwith.browser import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.RecyclerView +import com.tasomaniac.openwith.browser.preferred.R import com.tasomaniac.openwith.extensions.inflate import kotlinx.android.extensions.LayoutContainer import kotlinx.android.synthetic.main.browser_list_item.browserIcon diff --git a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/PreferredBrowserActivity.kt b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/PreferredBrowserActivity.kt index 66b5ba2e..1774bc0d 100644 --- a/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/PreferredBrowserActivity.kt +++ b/browser-preferred/src/main/kotlin/com/tasomaniac/openwith/browser/PreferredBrowserActivity.kt @@ -4,6 +4,7 @@ import android.os.Bundle import androidx.recyclerview.widget.DividerItemDecoration import com.tasomaniac.openwith.HeaderAdapter import com.tasomaniac.openwith.SimpleTextViewHolder +import com.tasomaniac.openwith.browser.preferred.R import com.tasomaniac.openwith.browser.resolver.BrowserResolver import com.tasomaniac.openwith.data.Analytics import com.tasomaniac.openwith.extensions.componentName diff --git a/browser-resolver/src/main/AndroidManifest.xml b/browser-resolver/src/main/AndroidManifest.xml deleted file mode 100644 index 57a6fdf4..00000000 --- a/browser-resolver/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/build.gradle b/build.gradle index 23a42e11..10097304 100644 --- a/build.gradle +++ b/build.gradle @@ -25,6 +25,7 @@ buildscript { ] repositories { + maven { url 'https://dl.bintray.com/gradleup/maven' } gradlePluginPortal() google() mavenCentral() @@ -39,6 +40,7 @@ buildscript { classpath 'io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.8.0' classpath 'org.jlleitschuh.gradle:ktlint-gradle:9.2.1' classpath 'com.novoda:gradle-static-analysis-plugin:1.2' + classpath 'com.gradleup:auto-manifest-plugin:1.0' if (isPlay) { classpath 'com.google.gms:google-services:4.3.3' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.1.0' @@ -46,6 +48,12 @@ buildscript { } } } +apply plugin: 'com.gradleup.auto.manifest' + +autoManifest { + packageName = 'com.tasomaniac.openwith' + replaceDashesWithDot = true +} allprojects { repositories { diff --git a/data/src/main/AndroidManifest.xml b/data/src/main/AndroidManifest.xml deleted file mode 100644 index 38d5f6e1..00000000 --- a/data/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/homescreen/src/main/AndroidManifest.xml b/homescreen/src/main/AndroidManifest.xml deleted file mode 100644 index dfc291b0..00000000 --- a/homescreen/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/intro-lib/src/main/AndroidManifest.xml b/intro-lib/src/main/AndroidManifest.xml deleted file mode 100644 index c873990a..00000000 --- a/intro-lib/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/preferred-apps/src/main/AndroidManifest.xml b/preferred-apps/src/main/AndroidManifest.xml deleted file mode 100644 index ac520199..00000000 --- a/preferred-apps/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/AppRemoveDialogFragment.kt b/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/AppRemoveDialogFragment.kt index cf14f51f..fc8f7e21 100644 --- a/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/AppRemoveDialogFragment.kt +++ b/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/AppRemoveDialogFragment.kt @@ -7,6 +7,7 @@ import androidx.appcompat.app.AlertDialog import androidx.appcompat.app.AppCompatDialogFragment import androidx.core.os.bundleOf import androidx.core.text.parseAsHtml +import com.tasomaniac.openwith.preferred.apps.R import com.tasomaniac.openwith.resolver.DisplayActivityInfo class AppRemoveDialogFragment : AppCompatDialogFragment() { diff --git a/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/PreferredAppsActivity.kt b/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/PreferredAppsActivity.kt index 1d0437ab..884fccc2 100644 --- a/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/PreferredAppsActivity.kt +++ b/preferred-apps/src/main/kotlin/com/tasomaniac/openwith/preferred/PreferredAppsActivity.kt @@ -12,6 +12,7 @@ import com.tasomaniac.openwith.SimpleTextViewHolder import com.tasomaniac.openwith.data.Analytics import com.tasomaniac.openwith.data.PreferredApp import com.tasomaniac.openwith.data.PreferredAppDao +import com.tasomaniac.openwith.preferred.apps.R import com.tasomaniac.openwith.resolver.ApplicationViewHolder import com.tasomaniac.openwith.resolver.DisplayActivityInfo import com.tasomaniac.openwith.resolver.IconLoader diff --git a/redirect/src/main/AndroidManifest.xml b/redirect/src/main/AndroidManifest.xml deleted file mode 100644 index f13f1190..00000000 --- a/redirect/src/main/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/test-support/src/main/AndroidManifest.xml b/test-support/src/main/AndroidManifest.xml deleted file mode 100644 index 2609a2d6..00000000 --- a/test-support/src/main/AndroidManifest.xml +++ /dev/null @@ -1 +0,0 @@ -