Skip to content

Commit

Permalink
Use auto-manifest plugin to get rid of some ceremony
Browse files Browse the repository at this point in the history
  • Loading branch information
tasomaniac committed May 16, 2020
1 parent ddac9d7 commit 5b4029e
Show file tree
Hide file tree
Showing 17 changed files with 15 additions and 56 deletions.
6 changes: 0 additions & 6 deletions base-prefs/src/main/AndroidManifest.xml

This file was deleted.

6 changes: 0 additions & 6 deletions base-translations/src/main/AndroidManifest.xml

This file was deleted.

6 changes: 0 additions & 6 deletions browser-preferred/src/main/AndroidManifest.xml

This file was deleted.

Expand Up @@ -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
Expand Down
Expand Up @@ -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
Expand Down
Expand Up @@ -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
Expand Down
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions browser-resolver/src/main/AndroidManifest.xml

This file was deleted.

8 changes: 8 additions & 0 deletions build.gradle
Expand Up @@ -25,6 +25,7 @@ buildscript {
]

repositories {
maven { url 'https://dl.bintray.com/gradleup/maven' }
gradlePluginPortal()
google()
mavenCentral()
Expand All @@ -39,13 +40,20 @@ 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'
classpath 'com.github.triplet.gradle:play-publisher:2.7.5'
}
}
}
apply plugin: 'com.gradleup.auto.manifest'

autoManifest {
packageName = 'com.tasomaniac.openwith'
replaceDashesWithDot = true
}

allprojects {
repositories {
Expand Down
6 changes: 0 additions & 6 deletions data/src/main/AndroidManifest.xml

This file was deleted.

6 changes: 0 additions & 6 deletions homescreen/src/main/AndroidManifest.xml

This file was deleted.

6 changes: 0 additions & 6 deletions intro-lib/src/main/AndroidManifest.xml

This file was deleted.

6 changes: 0 additions & 6 deletions preferred-apps/src/main/AndroidManifest.xml

This file was deleted.

Expand Up @@ -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() {
Expand Down
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions redirect/src/main/AndroidManifest.xml

This file was deleted.

1 change: 0 additions & 1 deletion test-support/src/main/AndroidManifest.xml

This file was deleted.

0 comments on commit 5b4029e

Please sign in to comment.