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

Building fails #1

Closed
TerryMay opened this issue Nov 7, 2019 · 2 comments
Closed

Building fails #1

TerryMay opened this issue Nov 7, 2019 · 2 comments

Comments

@TerryMay
Copy link

TerryMay commented Nov 7, 2019

Following the directions and the build will fail because the sample project tried to access the plugin before it is place.

I fixed the issue by first commenting out the line 'include 'sample'" in the gradle.settings the first time that ./gradlew :plugin:publishToMavenLocal is run

EDIT: I thought that I fixed but it has now failed with a new error, I'll list it here even though it might be a different issue:

        Caused by java.lang.IllegalArgumentException: URI is not hierarchical```

@ahasbini
Copy link
Owner

ahasbini commented Nov 7, 2019

Following the directions and the build will fail because the sample project tried to access the plugin before it is place.

That actually makes sense! Should look for a workaround for that, maybe by using the buildSrc. But as you said, removing include 'sample' for the first time and running ./gradlew :plugin:publishToMavenLocal successfully, you should be able to re-include 'sample' after that and building the project should work just fine.

EDIT: I thought that I fixed but it has now failed with a new error, I'll list it here even though it might be a different issue:
Caused by java.lang.IllegalArgumentException: URI is not hierarchical

Try running ./gradlew --stacktrace --console=plain :plugin:publishToMavenLocal and post the complete output here.

@ahasbini
Copy link
Owner

ahasbini commented Dec 17, 2019

New release v0.1.3-dev has been published on Gradle Plugins Portal and can be here. It contains quite some changes and improvements.

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