Skip to content

Commit 4bab35f

Browse files
author
yangchengdong
committed
update README.md
1 parent 052a407 commit 4bab35f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The MicroModule plugin defines the following methods in `microModule {}`:
4646
Use `export` to decide which MicroModules participate in the compilation of the module. if not declared, all MicroModules which decleard by `include`, will participate in the compilation of the module.
4747

4848

49-
Example 1. build.gradle file of library module in the dome.
49+
*Example 1. build.gradle file of library module in the dome.*
5050

5151
microModule {
5252
codeCheckEnabled true
@@ -68,7 +68,7 @@ The method **`microModule`** has a only `string` parameter, the name of the Micr
6868

6969
You can also declare dependencies on the other third party libraries in `dependencies {}`.
7070

71-
Example 2. build.gradle file of main MicroModule in the demo.
71+
*Example 2. build.gradle file of main MicroModule in the demo.*
7272

7373
dependencies {
7474
implementation fileTree(dir: 'main/libs', include: ['*.jar'])
@@ -83,7 +83,7 @@ The MicroModule plugin adds support for compiling single MicroModule into an And
8383

8484
The MicroModule plugin provides a factory method for creating a maven artifact. After you add configuration option of creating a maven artifact and run gradle sync, the MicroModule plugin will create a relatived upload task which publishing AAR file to Maven repository.
8585

86-
Example 3. Creating a maven artifact.
86+
*Example 3. Creating a maven artifact.*
8787

8888
microModule {
8989
mavenArtifact {
@@ -103,7 +103,7 @@ Example 3. Creating a maven artifact.
103103

104104
After publishing MicroModule AAR file to Maven repository, you can use it as a dependency instead of the local source code. All you have to do is add the attribute `useMavenArtifact` and set it to true.
105105

106-
Example 4. the complete example of the MicroModule build.gradle file.
106+
*Example 4. the complete example of the MicroModule build.gradle file.*
107107

108108
microModule {
109109
useMavenArtifact true

0 commit comments

Comments
 (0)