inductiveautomation / ignition-sdk-examples

Ignition SDK Example Projects
164 stars 92 forks source link

Can't Build with Gradle #59

Closed jnylaan closed 3 years ago

jnylaan commented 3 years ago

The path to the maven.teamdev.com is showing as not available. Is there another path to this repository?

Could not resolve all files for configuration ':common:compileClasspath'. Could not resolve com.inductiveautomation.ignitionsdk:ignition-common:8.1.0. Required by: project :common Could not resolve com.inductiveautomation.ignitionsdk:ignition-common:8.1.0. Could not get resource 'http://maven.teamdev.com/repository/products/com/inductiveautomation/ignitionsdk/ignition-common/8.1.0/ignition-common-8.1.0.pom'. Could not HEAD 'https://maven.teamdev.com/repository/products/com/inductiveautomation/ignitionsdk/ignition-common/8.1.0/ignition-common-8.1.0.pom'. Received status code 502 from server: Bad Gateway Could not resolve com.inductiveautomation.ignitionsdk:perspective-common:8.1.0. Required by: project :common Could not resolve com.inductiveautomation.ignitionsdk:perspective-common:8.1.0. Could not get resource 'http://maven.teamdev.com/repository/products/com/inductiveautomation/ignitionsdk/perspective-common/8.1.0/perspective-common-8.1.0.pom'. Could not HEAD 'https://maven.teamdev.com/repository/products/com/inductiveautomation/ignitionsdk/perspective-common/8.1.0/perspective-common-8.1.0.pom'. Received status code 502 from server: Bad Gateway

PerryAJ commented 3 years ago

Thanks for reporting. Indeed, Teamdev has changed repo URLS. You can update your project with the [updated repo details], and I'll be pushing a change to update the example as well.

As a suggestion, if you update the teamdev url yourself, I'd recommend moving it below the inductive automation entries.

PerryAJ commented 3 years ago

Can you try the changes submitted in the attached PR and let me know if it resolves the issue for you?

I don't think teamdev should be necessary now at all with this change, as it's proxied as part of our thirdparty artifact repo.

jnylaan commented 3 years ago

Yes, that worked thank you for the very quick response!