Skip to content

Commit bbeeedc

Browse files
committed
update README
1 parent 3b15fcf commit bbeeedc

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

README.md

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,8 @@ apply plugin: 'me.2bab.seal'
5959
```
6060

6161
2. Configurations:
62-
``` gradle
63-
def projectRoot = project.getRootProject().rootDir.absolutePath
64-
65-
// Folders may include AndroidManifest.xml files
66-
// 1. For gradle plugin 2.3.0 or higher, build-cache is default choice,
67-
// 2. But we should make sure snapshot-libs will be checked too.
68-
// 3. Free to add your folders for more customization
69-
def manifestPath = [
70-
// for AAR of Release
71-
// see note below
72-
projectRoot + '/build-cache',
73-
// for AAR of SNAPSHOT
74-
projectRoot + '/app/build/intermediates/exploded-aar'
75-
]
7662

63+
``` gradle
7764
// remove some attrs of application tag
7865
def removeAttrs = [
7966
'android:debuggable'
@@ -92,7 +79,6 @@ def sweepXmlns = [
9279
9380
seal {
9481
enabled = true
95-
manifests = manifestPath
9682
9783
appAttrs {
9884
enabled = true
@@ -114,15 +100,13 @@ seal {
114100

115101
Note:
116102

117-
- If `build-cache` is enable, Seal recommends that custom build cache folder placed in the Project Folder.
103+
- If `build-cache` is enable (for those who update Android Gradle Plugin to above 3.0.0, this feature is enabled by default), Seal recommends that custom build cache folder placed in the Project Folder to avoid impact other projects while you are modifying the manifest of libraries.
118104

119105
```
120106
//gradle.properties
121107
android.buildCacheDir=./build-cache
122108
...
123109
```
124-
125-
- Currently (v1.1.0), `xmlnsSweep` should always enable and config it with `android` namespace, because there is a bug of `groovy.util.Node` may add useless xmlns sometimes.
126110
127111
## Sample
128112
@@ -235,6 +219,11 @@ The xmlns of application tag cleared by Seal.
235219

236220
## Changelog
237221

222+
### v2.0.0
223+
- Support getting Manifest files automatically
224+
- Support AAPT2 only
225+
- This version is only for testing since AAPT2 works well so far until I find some bugs that I have to make a workaround by myself
226+
238227
### v1.1.0
239228

240229
- Support Sweeping useless xmlns (which may cause aapt's concealed defect)

0 commit comments

Comments
 (0)