publish my android aar to jcenter

Paul Yang

I want to upload my android aar to the bintray.I reafer to this ,but when I execute the cmd #gradlew bintrayUpload,the cmd show error message,and my gradle file as follow:

bintray {
    user = properties.getProperty('bintray.user')
    key = properties.getProperty('bintray.apikey')
    configurations = ['published', 'archives']

    dryRun = false
    publish = true

    pkg {
        repo = 'maven'
        name = 'ActionAnimatorSet'

        desc = 'An animator operation set on Android'

        websiteUrl = 'https://github.com/paulyung541/ActionAnimatorSet'
        issueTrackerUrl = 'https://github.com/paulyung541/ActionAnimatorSet/issues'
        vcsUrl = 'https://github.com/paulyung541/ActionAnimatorSet.git'

        licenses = ['GNU GENERAL PUBLIC LICENSE, Version 3.0']
        labels = ['Android', 'ObjectAnimator', 'AnimatorSet']
        publicDownloadNumbers = true

        version {
            name = '1.0.0'
            desc = 'first version'
            vcsTag = '1.0'
        }
    }
}

publishing {
    publications {
        Publication(MavenPublication) {
            groupId 'com.paulyung'
            artifactId 'actionanimset'
            version '1.0.0'
        }
    }
}

I already setup a maven in bintray,but the cmd always point out that I don't have a maven.

galusben

Please look at one of the following threads: HTTP/1.1 401 Unauthorized when uploading binary on bintray Trouble Publishing Android Studio Library on jCenter with Bintray

You might be missing the userOrg parameter. It depends on if your maven repo resides under your organization or user.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Publish kotlin library (Not Android) to jCenter

Android studio 2.2.2 publish my app module as library to jcenter with bintray repository

Publish an Android library to Maven with aar and source jar

How to publish an Android .aar file to Artifactory

My Android Library Exists on Bintray but not on jCenter

How to publish in my maven local repository an existing aar with gradle?

Publish library into maven repository but not JCenter

Easiest way to publish AAR

How can I add docstrings to android maven-publish .aar files in build.gradle.kts?

How can I generate both an aar and apk of my Android project

How to import a .aar file into Android Studio 1.1.0 and use it in my code

How to include a proguard configuration in my Android library (AAR)

How to use the downloaded maven aar file in my Android project?

Unable to add my library to JCenter

Using Jcenter with gradle in Android studio

How to publish aar file to Apache Archiva with Gradle

Publish .aar file with javadocs attached on artifactory repo

Publish an aar file to Maven Central with Gradle not working

How to publish my Android app on Tencent or 360 mobile?

Can others examine my android app memory after I publish it?

publish android app for a client with my package name prefix

Android aar dependencies

Why won't Android Studio create my AAR file in release mode

Can't add android library to JCenter

Uploading android module to bintray and linking to jcenter

Can't resolve dependency in Android Studio with jcenter

Publishing Android Library from JCenter to Maven Central

Android library published on bintray but is not available at jcenter

Is it safe to publish my OpenID?