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

AAR is not published at Maven Central #20

Closed
osipxd opened this issue Mar 6, 2021 · 1 comment
Closed

AAR is not published at Maven Central #20

osipxd opened this issue Mar 6, 2021 · 1 comment

Comments

@osipxd
Copy link
Member

osipxd commented Mar 6, 2021

aar is not published:
https://repo1.maven.org/maven2/com/redmadrobot/pinkman/1.1.1/

Maybe component android available only in afterEvaluate.

publications {
create("release", MavenPublication::class.java) {
from(project.components.findByName("android"))

@osipxd
Copy link
Member Author

osipxd commented Mar 9, 2021

Ugly workaround:

repositories {
    mavenCentral()
    // Use bintray for redmadrobot dependencies
    exclusiveContent {
        forRepository {
            maven("https://dl.bintray.com/redmadrobot-opensource/android")
        }
        filter { includeGroup("com.redmadrobot") }
    }
}

@Fi5t Fi5t closed this as completed in bf00218 Apr 22, 2021
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