-
Notifications
You must be signed in to change notification settings - Fork 160
All versions of build-info-extractor-gradle newer than 4.4.12 crash #122
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
Comments
@doubleo2, thanks for reporting this issue. |
Can you provide any tips for tracking down which plugin is using an out-dated version of the Apache HTTP Client? Which version of the http client contains the change you reference? I tried digging into the differences between 4.4.12 and new versions of the artifactory plugin, but the many layers of dependencies make it difficult to track down exactly what has changed between versions. You are right, my workaround is to use 4.4.12 |
@doubleo2, Before the versions upgrade (committed on December last year), it used the following versions: You can see the used dependencies in the build-info project's build.gradle You can use gradle's dependencies command to view the resolved dependency tree for your project. It might help in figuring out which plugin brings the old http client dependency versions. |
@eyalbe4, the dependencies task shows project dependencies, not buildscript dependencies, which is what we want here. See this SO question for a discussion. Short answer:
I add this to an I suppose the buildEnvironment task is already there and should give us this same information. |
@eyalbe4 Any update for this issue? Thanks in advance. 😄 |
@johnwatsondev, |
@eyalbe4 OK. I just use the plugin with version 4.4.12 for now. I'd like to post a sample repo for testing. Thanks for a reply. :) |
The issue is quite old and the Android Gradle Plugin is at version 3.1.4 (stable) and requires at least Gradle 4.4. For my projects this issue is gone silently. |
I have used tips of jverne to debug this issue on my project.
My project is organized like this :
I have resolved this in adding the classpath of artifactory plugin in the root build.gradle so that gradle will take the latest dependencies of |
The latest versions of build-info-extractor-gradle all crash when running with gradle 3.3. For completeness sake, the android gradle plugin (2.3.3) and android maven gradle plugin (1.4.1) are also in the buildscript classpath.
In 4.4.13, the exception is
In 4.4.14-4.4.18, the exception is
The text was updated successfully, but these errors were encountered: