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

fix(gradle-plugin): Disable publishing by default #197

Closed
wants to merge 1 commit into from

Conversation

NyCodeGHG
Copy link
Contributor

No description provided.

@DRSchlaubi
Copy link
Owner

This looks like an IntelliJ issue because IntelliJ really wants to configure that task, which kinda makes the whole lazy configuration (register) useless, maybe a better way to fix this, is to simply introduce a default value for the targetDirectory property as it doesn't require everyone to enable publishing again after upgrading

@NyCodeGHG
Copy link
Contributor Author

This is not an IntelliJ issue. When you run ./gradlew tasks you also get an exception

@DRSchlaubi
Copy link
Owner

Then it's a Gradle issue, using register to register tasks is supposed to not evaluate configuration until needed, just listing all tasks, doesn't need to know that

we can also wrap that block in an afterEvaluate {}

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

Successfully merging this pull request may close these issues.

None yet

2 participants