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

Can not locate gradle plugin when building locally #8

Closed
deanmckenna opened this issue Nov 21, 2018 · 1 comment
Closed

Can not locate gradle plugin when building locally #8

deanmckenna opened this issue Nov 21, 2018 · 1 comment

Comments

@deanmckenna
Copy link

deanmckenna commented Nov 21, 2018

Hey. I am attempting to build lightsaber locally as I am curious about the project. However I can not get it to build due to a problem with resolving the lightsaber gradle plugin. The error occurs even when I attempt to build and publish to maven local the grade-plugin module:

A problem occurred configuring project ':core'.
> Could not resolve all artifacts for configuration ':core:classpath'.
   > Could not find io.michaelrocks:lightsaber-gradle-plugin:0.10.0-beta.
     Searched in the following locations:
       - file:/Users/Dean/.m2/repository/io/michaelrocks/lightsaber-gradle-plugin/0.10.0-beta/lightsaber-gradle-plugin-0.10.0-beta.pom
       - file:/Users/Dean/.m2/repository/io/michaelrocks/lightsaber-gradle-plugin/0.10.0-beta/lightsaber-gradle-plugin-0.10.0-beta.jar
       - https://jcenter.bintray.com/io/michaelrocks/lightsaber-gradle-plugin/0.10.0-beta/lightsaber-gradle-plugin-0.10.0-beta.pom
       - https://jcenter.bintray.com/io/michaelrocks/lightsaber-gradle-plugin/0.10.0-beta/lightsaber-gradle-plugin-0.10.0-beta.jar
       - https://dl.google.com/dl/android/maven2/io/michaelrocks/lightsaber-gradle-plugin/0.10.0-beta/lightsaber-gradle-plugin-0.10.0-beta.pom
       - https://dl.google.com/dl/android/maven2/io/michaelrocks/lightsaber-gradle-plugin/0.10.0-beta/lightsaber-gradle-plugin-0.10.0-beta.jar
     Required by:
         project :core

It seems there might be a circular dependency.

@MichaelRocks
Copy link
Owner

If you want to build the project from sources you should run the following command first:

./gradlew publishToMavenLocal -Pbootstrap=true

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

2 participants