- build.gradle(Module:MyLib)
plugins {
id 'com.android.library'
id 'maven-publish'
}
...
afterEvaluate {
publishing{
publications{
reslease(MavenPublication){
from components.release
groupId = 'com.gzeinnumer'
artifactId = 'pdb'
version = '1.0'
}
}
}
}