diff --git a/README.md b/README.md
index cc1e4a9..8862bce 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# MicroModule
-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.
+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.
@@ -9,7 +9,7 @@ Rebuild multiple complete module structures within the module. Each complete mod
buildscript {
dependencies {
...
- classpath 'com.eastwood.tools.plugins:micro-module:1.3.2'
+ classpath 'com.eastwood.tools.plugins:micro-module:1.4.0'
}
}
@@ -78,54 +78,6 @@ You can also declare dependencies on the other third party libraries in `depende
implementation microModule(':p_common')
}
-### Publish MicroModule(AAR) to Maven repository:
-The MicroModule plugin adds support for compiling single MicroModule into an Android Archive (AAR) file, and publishing AAR file to Maven repository.
-
-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.
-
-*Example 3. Creating a maven artifact.*
-
- microModule {
- mavenArtifact {
- groupId 'com.eastwood.demo'
- artifactId 'library-base'
- version '1.0.0-SNAPSHOT'
-
- repository {
- url "***"
- authentication(userName: '***', password: '***')
- }
- }
- }
-
-
-
-
-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.
-
-*Example 4. the complete example of the MicroModule build.gradle file.*
-
- microModule {
- useMavenArtifact true
- mavenArtifact {
- groupId 'com.eastwood.demo'
- artifactId 'library-base'
- version '1.0.0-SNAPSHOT'
-
- repository {
- url "***"
- authentication(userName: '***', password: '***')
- }
- }
- }
-
- dependencies {
- implementation fileTree(dir: 'main/libs', include: ['*.jar'])
- implementation 'com.android.support:appcompat-v7:27.1.1'
- implementation 'com.android.support.constraint:constraint-layout:1.1.0'
-
- implementation microModule(':p_common')
- }
## MicroModule Android Studio Plugin
Provides an action which allow you quickly create MicroModule or convert module to MicroModule.
diff --git a/build.gradle b/build.gradle
index 51b2ff4..a43c5a6 100644
--- a/build.gradle
+++ b/build.gradle
@@ -9,7 +9,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath 'com.eastwood.tools.plugins:micro-module:1.3.0'
+ classpath 'com.eastwood.tools.plugins:micro-module:1.4.0'
}
}
diff --git a/micro-module/build.gradle b/micro-module/build.gradle
index 473a93f..48668a4 100644
--- a/micro-module/build.gradle
+++ b/micro-module/build.gradle
@@ -19,7 +19,7 @@ apply plugin: 'maven'
def groupId = 'com.eastwood.tools.plugins'
def artifactId = 'micro-module'
-def version = '1.3.2'
+def version = '1.4.0'
def localReleaseDest = "${buildDir}/release/${version}"
diff --git a/picture/2.png b/picture/2.png
deleted file mode 100644
index 75fa8cd..0000000
Binary files a/picture/2.png and /dev/null differ