Skip to content

Commit

Permalink
release 2.0.0 and update README
Browse files Browse the repository at this point in the history
  • Loading branch information
2BAB committed Oct 7, 2018
1 parent 79ca41c commit 3b15fcf
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
19 changes: 14 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# Seal

[![Download](https://api.bintray.com/packages/2bab/maven/Seal-Manifest-Precheck-Plugin/images/download.svg)](https://bintray.com/2bab/maven/Seal-Manifest-Precheck-Plugin/_latestVersion) [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[ ![Download](https://api.bintray.com/packages/2bab/maven/seal/images/download.svg) ](https://bintray.com/2bab/maven/seal/_latestVersion) [![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)](https://www.apache.org/licenses/LICENSE-2.0)

Seal is a gradle plugin to do precheck of Android Manifest.

English | [中文说明](http://2bab.me/2017/05/23/gradle-daily-crash-aar-replace-conflict/)

**Notice:**

**Since most of developers has transformed to AAPT2 already, so I decide to update this plugin as well. Luckily, I found that Google has fixed almost all issues of AAPT1 in AAPT2, hence Seal is no longer needed (means for now AAPT2 works well until I find any other new issues I have to make a workaround by myself).**

**I published Seal 2.x only because I found a new way to get the Manifest files automatically, it only works above 3.0.0 of Android Gradle Plugin. If you still use the AAPT1 and meet some problems on Manifest Merging, please use the [Seal@1.x](https://github.com/2BAB/Seal/tree/master)**

**In Summary, you don't need Seal 2.x so far. Just upgrade to AAPT2 and have fun. If you want to find a way to modify the manifest freely, check another project here: [Weaving](https://github.com/2BAB/Weaving).**

## Conflict / Warning When Manifest Merge

Expand All @@ -31,22 +38,23 @@ All of these are what we face with, and **Seal** trying to solve.
## Quick Start

1. Compile&apply Seal plugin:

```
// project's build.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'me.xx2bab.gradle:seal-manifest-precheck-plugin:1.1.0'
classpath 'com.android.tools.build:gradle:3.2.0'
classpath 'me.2bab:seal:2.0.0'
}
}
...
// app's build.gradle
apply plugin: 'seal'
apply plugin: 'me.2bab.seal'
```

Expand Down Expand Up @@ -250,4 +258,5 @@ The xmlns of application tag cleared by Seal.
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ if (project.extensions.findByName("buildScan") != null) {
}

group 'me.2bab'
version '2.0.0-SNAPSHOT'
version '2.0.0'
apply from: 'bintray.gradle'
apply from: 'mavenlocal.gradle'

0 comments on commit 3b15fcf

Please sign in to comment.