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

Unspecified version in 1.8.4 #308

Open
mortezahosseinee opened this issue Jan 14, 2020 · 0 comments
Open

Unspecified version in 1.8.4 #308

mortezahosseinee opened this issue Jan 14, 2020 · 0 comments

Comments

@mortezahosseinee
Copy link

Hi, i upload a bintray library and then publish it. this is url that bintray give it to me:

'MapirServiceTest:mapirservice:unspecified'

why?

Here is my code:

install {
repositories.mavenInstaller {
// This generates POM.xml with proper parameters
pom {
project {
packaging 'aar'
// Add your description here
name '... ... SDK for Android'
url siteUrl
groupId properties.getProperty('GROUPID')
artifactId properties.getProperty('ARTIFACT')
version properties.getProperty('VERSION_NAME')

        // Set your license
        licenses {
            license {
                name 'The Apache Software License, Version 2.0'
                url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
            }
        }
        developers {
            developer {
                id '...'
                name '...'
                email '...'
            }
        }
        scm {
            connection gitUrl
            developerConnection gitUrl
            url siteUrl
        }
    }
}

}

}

bintray {
user = properties.getProperty("bintrayUser")
key = properties.getProperty("bintrayApiKey")

configurations = ['archives']

pkg {
repo = properties.getProperty('REPO')
name = properties.getProperty('GROUPID')
userOrg = properties.getProperty('USERORG')
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/bintray/gradle-bintray-plugin.git'
version {
name = properties.getProperty('VERSION_NAME')
desc = properties.getProperty('VERSION_DESC')

    vcsTag = '0.1'
    attributes = ['gradle-plugin': 'com.use.less:com.use.less.gradle:gradle-useless-plugin']
}

}

}

task androidJavadocs(type: Javadoc) {
source = android.sourceSets.main.java.sourceFiles
classpath = files(android.bootClasspath)
failOnError false
}

task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
classifier = 'javadoc'
from androidJavadocs.destinationDir
}

task androidSourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.sourceFiles
}

artifacts {
archives androidSourcesJar
archives androidJavadocsJar
}

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

1 participant