Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add to Maven Central as an artifact #6

Open
kenyee opened this issue Feb 10, 2014 · 2 comments
Open

add to Maven Central as an artifact #6

kenyee opened this issue Feb 10, 2014 · 2 comments

Comments

@kenyee
Copy link

kenyee commented Feb 10, 2014

Could you please add it to Maven Central as an artifact so we can add it to Gradle builds easily?

@mraccola
Copy link
Contributor

@genzeb This should be pretty easy to add. I would recommend creating an Gradle Init Script, http://www.gradle.org/docs/current/userguide/init_scripts.html, that you can use to upload the AAR to Maven Central. Here's a rough script that shows what you'll need to do.

apply plugin: 'maven'

version 'your_version_here'
group 'your_group_name_here'

uploadArchives {
    repositories {
        mavenDeployer {
            repository(url: uri('your_repo_url')) {
                authentication(userName: 'your_user_name', password: 'your_password)
            }
            snapshotRepository(url: uri('your_snapshot_repo_url')) {
                authentication(userName: 'your_user_name', password: 'your_password)
            }
        }
    }
}

@snowdream
Copy link

@genzeb please publish aar to Maven Central,Thank You.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants