Skip to content

Failed to build via jitpack.io #48

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

Closed
EMaksymenko opened this issue May 24, 2019 · 4 comments
Closed

Failed to build via jitpack.io #48

EMaksymenko opened this issue May 24, 2019 · 4 comments
Labels
question Further information is requested

Comments

@EMaksymenko
Copy link
Member

Hi.

Is it possible to fix build scripts to be able to import develop-SNAPSHOT from github via jitpack.io?

Now it shows following errors:
https://jitpack.io/com/github/WorldWindEarth/WorldWindJava/develop-a840f19ad8-1/build.log

@PJHogan
Copy link
Member

PJHogan commented May 24, 2019

@wcmatthysen
Copy link
Member

@Sufaev, we can look at JitPack as one way to distribute snapshots. It seems like an interesting alternative to hosting artifacts on Bintray. To address your issue: I see from the error message in the JitPack build:

* What went wrong:
A problem occurred evaluating root project 'worldwind'.
> Could not set unknown property 'archiveBaseName' for task ':extensionsJar' of type 
org.gradle.api.tasks.bundling.Jar.

It looks like one of the issues that I fixed in pull-request #44 for the Gradle config. Specifically, if you look at this commit: ec9415a you'll see I changed archiveBaseName to baseName. I think the issue will be solved once we merge those changes into develop.

@wcmatthysen wcmatthysen added the question Further information is requested label May 25, 2019
@EMaksymenko
Copy link
Member Author

Now jitpack builds successfully. Issue can be closed.
https://jitpack.io/com/github/WorldWindEarth/WorldWindJava/develop-a024a748a9-1/build.log

@wcmatthysen
Copy link
Member

@Sufaev, that is good news. It was probably the recent Gradle changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants