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

Compatibility with Gradle 4.8 #19

Closed
trevjonez opened this issue Jun 10, 2018 · 8 comments
Closed

Compatibility with Gradle 4.8 #19

trevjonez opened this issue Jun 10, 2018 · 8 comments
Assignees
Milestone

Comments

@trevjonez
Copy link

java.lang.AbstractMethodError: digital.wup.android_maven_publish.AndroidVariantLibrary$CompileUsage.getGlobalExcludes()Ljava/util/Set;
        at org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication.populateFromComponent(DefaultMavenPublication.java:246)
        at org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication.getPublishableArtifacts(DefaultMavenPublication.java:357)
        at org.gradle.api.publish.maven.internal.publication.DefaultMavenPublication_Decorated.getPublishableArtifacts(Unknown Source)
        at org.gradle.api.publish.maven.tasks.AbstractPublishToMaven$1.call(AbstractPublishToMaven.java:46)
        at org.gradle.api.publish.maven.tasks.AbstractPublishToMaven$1.call(AbstractPublishToMaven.java:43)
        at org.gradle.util.GUtil.uncheckedCall(GUtil.java:458)
        at org.gradle.api.internal.file.collections.BuildDependenciesOnlyFileCollectionResolveContext.add(BuildDependenciesOnlyFileCollectionResolveContext.java:73)
        at org.gradle.api.internal.file.collections.BuildDependenciesOnlyFileCollectionResolveContext.add(BuildDependenciesOnlyFileCollectionResolveContext.java:75)
        at org.gradle.api.internal.tasks.TaskPropertyFileCollection.visitContents(TaskPropertyFileCollection.java:53)
        at org.gradle.api.internal.file.CompositeFileCollection.visitDependencies(CompositeFileCollection.java:187)
        at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext$TaskGraphImpl.getNodeValues(CachingTaskDependencyResolveContext.java:89)
        at org.gradle.internal.graph.CachingDirectedGraphWalker$GraphWithEmpyEdges.getNodeValues(CachingDirectedGraphWalker.java:211)
        at org.gradle.internal.graph.CachingDirectedGraphWalker.doSearch(CachingDirectedGraphWalker.java:121)
        at org.gradle.internal.graph.CachingDirectedGraphWalker.findValues(CachingDirectedGraphWalker.java:73)
        at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.doGetDependencies(CachingTaskDependencyResolveContext.java:76)
        at org.gradle.api.internal.tasks.CachingTaskDependencyResolveContext.getDependencies(CachingTaskDependencyResolveContext.java:60)
[...]
@trevjonez
Copy link
Author

Looks like you already got through #18 & #17 today. I was going to take a swing at this one today as I am really wanting to use the new pom dsl they added in gradle 4.8 but it seems you might already be working on the solution? Let me know, I have a handful of libraries I would love to upgrade to use this plugin asap.

@warnyul
Copy link
Contributor

warnyul commented Jun 10, 2018

Yes, I am working on the solution. I would like to release the new version today.

@warnyul warnyul self-assigned this Jun 10, 2018
@warnyul warnyul added this to the 3.6.0 milestone Jun 10, 2018
warnyul added a commit that referenced this issue Jun 10, 2018
@warnyul
Copy link
Contributor

warnyul commented Jun 10, 2018

Soon it will be available in Gradle Plugin portal

@warnyul warnyul closed this as completed Jun 10, 2018
@trevjonez
Copy link
Author

looks like the upload from travis failed due to a misconfig some where?

@warnyul
Copy link
Contributor

warnyul commented Jun 10, 2018

Something wrong with bintrayUpload:

Could not upload to 'https://api.bintray.com/content/[secure]/[secure]-maven/android-maven-publish/3.6.0/value: digital/wup/value: android-maven-publish/value: 3.6.0/value: android-maven-publish-value: 3.6.0.pom': HTTP/1.1 400 Bad Request [message:Unable to upload files: Maven group, artifact or version defined in the pom file do not match the file path 'value: digital/wup/value: android-maven-publish/value: 3.6.0/value: android-maven-publish-value: 3.6.0.pom']

@warnyul
Copy link
Contributor

warnyul commented Jun 10, 2018

I am not so happy. This is an open issue on bintray plugin. I can't make release today. I will revert this release and reopen the issue.
Until this has been fixed.

@warnyul warnyul reopened this Jun 10, 2018
@trevjonez
Copy link
Author

Looks like they shipped gradle-bintray-plugin:1.8.1 today. I was able to deploy this repo locally and upload my project once I had both 3.6.0 of this plugin and 1.8.1 of theirs.

@warnyul
Copy link
Contributor

warnyul commented Jun 11, 2018

Thansks for your help. I have published 3.6.0 with bintray plugin 1.8.1. It is available now.

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

No branches or pull requests

2 participants