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
+2-50Lines changed: 2 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# MicroModule
2
-
Rebuild multiple complete module structures within the module. Each complete module structure we called it MicroModule, Each MicroModule has its own `build.gradle` file where you can add configuration options to publish MicroModule(aar) to Maven and declare MicroModule dependencies. In addition, you can decide which MicroModules participate in the compilation of the module.
2
+
Rebuild multiple complete module structures within the module. Each complete module structure we called it MicroModule, Each MicroModule has its own `build.gradle` file where you can declare MicroModule dependencies. In addition, you can decide which MicroModules participate in the compilation of the module.
@@ -78,54 +78,6 @@ You can also declare dependencies on the other third party libraries in `depende
78
78
implementation microModule(':p_common')
79
79
}
80
80
81
-
### Publish MicroModule(AAR) to Maven repository:
82
-
The MicroModule plugin adds support for compiling single MicroModule into an Android Archive (AAR) file, and publishing AAR file to Maven repository.
83
-
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.
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
-
106
-
*Example 4. the complete example of the MicroModule build.gradle file.*
0 commit comments