Skip to content

Commit

Permalink
Proper android studio 4.0.1 support. Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Nilzor committed Dec 13, 2020
1 parent cdff3dd commit 096d188
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Build variant matrix selector
# Build Variant Matrix Selector

A plugin for Android Studio making it easier to select variants / flavors

Expand Down Expand Up @@ -27,10 +27,19 @@ flavors per dimension, radio buttons can do with A + B + C

## Installation

Requirement: Android Studio 4.0 or newer.

- Search for plugin <TBA> in Android Studio (Not yet published as of 13/12-2020, see releasees for manual file installation)

## Usage

Map a key to the action "Select Build Variant as Matrix" and start using it

## Known limitations

- Not currently supporting modules that have incomplete dimension configuration.
If you have flavor A, B & C for dimension X, you need to have flavor A, B & C in all modules.

## Acknowledgements

Thants to PandoraMedia's [variant-helper-plugin](https://github.com/PandoraMedia/variant-helper-plugin) for inspiration
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ plugins {
}

group 'com.nilsenlabs.flavormatrix'
version '0.5.1'
version '0.5.3'

patchPluginXml {
changeNotes """
<ul>
<li>0.5 Beta version of the Flavor Matrix plugin</li>
<li>0.5.3 Beta version of the Build Variant Matrix Selector plugin</li>
</ul>
"""
}
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
rootProject.name = 'flavor-matrix'
rootProject.name = 'build-variant-matrix'

8 changes: 4 additions & 4 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
<idea-plugin>
<id>com.nilsenlabs.flavormatrix</id>
<name>Build Variant Matrix Selector</name>
<vendor url="https://github.com/Nilzor/flavor-matrix">Frode Nilsen</vendor>
<idea-version since-build="201"/>
<vendor url="https://github.com/Nilzor/build-variant-matrix">Frode Nilsen</vendor>
<idea-version since-build="193"/>

<description><![CDATA[
Select variant by selecting flavors in a matrix instead of drop down lists.
Github: https://github.com/Nilzor/flavor-matrix
Github: https://github.com/Nilzor/build-variant-matrix
]]></description>

<depends>org.jetbrains.android</depends>
Expand All @@ -31,7 +31,7 @@
<actions>
<action id="SelectBuildVariantMatrixAction"
class="com.nilsenlabs.flavormatrix.actions.SelectBuildVariantMatrixAction"
text="Select Build Variant as Matrix">
text="Select Build Variant by Matrix">
<add-to-group group-id="GradleProjectStructureActions"
anchor="after"
relative-to-action="SelectBuildVariant" />
Expand Down

0 comments on commit 096d188

Please sign in to comment.