Skip to content

Commit 3d24c7d

Browse files
committed
update: README.md
1 parent 411312b commit 3d24c7d

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

README.md

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Repository for testing build from jitpack.io
88
This Is Latest Release
99

1010
$version_release = 1.1.0
11+
$version_dcendents = 2.1
1112

1213
What's New??
1314

@@ -45,15 +46,22 @@ What's New??
4546
jdk:
4647
- openjdk11
4748

48-
### Step 2. Add maven-publish on plugins
49+
### Step 2. Add root build.gradle buildscript dependencies (This Step For Multiple Module / Library)
50+
51+
dependencies {
52+
...
53+
classpath 'com.github.dcendents:android-maven-gradle-plugin:$version_dcendents'
54+
}
55+
56+
### Step 3. Add maven-publish on plugins
4957

5058
plugins {
5159
id 'com.android.library'
5260
...
5361
id 'maven-publish'
5462
}
5563

56-
### Step 3. Add publish code library on build.gradle library module
64+
### Step 4. Add publish code library on build.gradle library module
5765

5866
afterEvaluate {
5967
publishing {
@@ -65,13 +73,15 @@ What's New??
6573
// Applies the component for the release build variant.
6674
from components.release
6775

68-
// Library Package Name
69-
groupId = 'com.frogobox.sample'
76+
// Library Package Name (Example : "com.frogobox.androidfirstlib")
77+
// NOTE : Different GroupId For Each Library / Module, So That Each Library Is Not Overwritten
78+
groupId = $projectFirstLibraryId
7079

71-
// Github Repository Name
72-
artifactId = 'jitpack-library-test'
80+
// Library Name / Module Name (Example : "androidfirstlib")
81+
// NOTE : Different ArtifactId For Each Library / Module, So That Each Library Is Not Overwritten
82+
artifactId = $firstLibrary
7383

74-
// Version Library Name
84+
// Version Library Name (Example : "1.0.0")
7585
version = "$projectVersionName"
7686

7787
}

0 commit comments

Comments
 (0)