-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInFo
18 lines (17 loc) · 803 Bytes
/
InFo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
STEPS:
create a android project
file->new->new module->android library->finish
add files in library
in library gradle file
apply plugin: 'com.android.library'
apply plugin: 'com.android.library'
// Required plugin in library module
apply plugin: 'com.github.dcendents.android-maven'
// Replace nisrulz with <your_github_username>
group='com.github.'
in app:gradle fileadd: apply plugin: 'com.github.dcendents.android-maven'
compile project('lib name')
in build.gradle(project) add : classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
go to gradle located on right side click on my library. task->build->assemble release
push code to git and create a relese version
go to https://jitpack.io and paste yout git hub account url and you will be instructed what to do