Skip to content

Instantly share code, notes, and snippets.

@jmsalcido
Last active February 21, 2017 05:28
Show Gist options
  • Save jmsalcido/6f779e0ccd3ad0e86162466be89a5973 to your computer and use it in GitHub Desktop.
Save jmsalcido/6f779e0ccd3ad0e86162466be89a5973 to your computer and use it in GitHub Desktop.
mavengradle
apply plugin: 'com.github.dcendents.android-maven'
def groupIdUsed = 'com.nearsoft.android' // Maven Group Id
group = groupIdUsed
install {
repositories.mavenInstaller {
pom {
project {
packaging 'aar'
groupId groupIdUsed
artifactId 'simplelogger'
name 'simplelogger'
description 'sample description'
url 'http://nearsoft.com'
licenses {
license {
name 'MIT'
url 'https://opensource.org/licenses/MIT'
}
}
developers {
developer {
id 'jsalcido'
name 'Jose Salcido'
email 'bear@nearsoft.com'
}
}
scm {
connection 'https://github.com/jmsalcido/android_samples.git'
developerConnection 'https://github.com/jmsalcido/android_samples.git'
url 'http://nearsoft.com'
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment