You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ The MicroModule plugin defines the following methods in `microModule {}`:
46
46
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.
47
47
48
48
49
-
Example 1. build.gradle file of library module in the dome.
49
+
*Example 1. build.gradle file of library module in the dome.*
50
50
51
51
microModule {
52
52
codeCheckEnabled true
@@ -68,7 +68,7 @@ The method **`microModule`** has a only `string` parameter, the name of the Micr
68
68
69
69
You can also declare dependencies on the other third party libraries in `dependencies {}`.
70
70
71
-
Example 2. build.gradle file of main MicroModule in the demo.
71
+
*Example 2. build.gradle file of main MicroModule in the demo.*
@@ -83,7 +83,7 @@ The MicroModule plugin adds support for compiling single MicroModule into an And
83
83
84
84
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.
85
85
86
-
Example 3. Creating a maven artifact.
86
+
*Example 3. Creating a maven artifact.*
87
87
88
88
microModule {
89
89
mavenArtifact {
@@ -103,7 +103,7 @@ Example 3. Creating a maven artifact.
103
103
104
104
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.
105
105
106
-
Example 4. the complete example of the MicroModule build.gradle file.
106
+
*Example 4. the complete example of the MicroModule build.gradle file.*
0 commit comments