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

AppVeyor: w: The '-d' option with a directory destination is ignored because '-Xbuild-file' is specified #1230

Closed
3flex opened this issue Oct 10, 2018 · 2 comments · Fixed by #1240
Milestone

Comments

@3flex
Copy link
Member

3flex commented Oct 10, 2018

Expected Behavior

AppVeyor build runs reliably.

Current Behavior

It doesn't.

Error is:

w: The '-d' option with a directory destination is ignored because '-Xbuild-file' is specified
e: warnings found and -Werror specified

Both times occurred on detekt-api:compileKotlin task.

Steps to Reproduce (for bugs)

See:

Context

Cause unknown. No part of the build specifically sets either of those flags for the KotlinCompile tasks.

Disabling incremental compilation may help, but there's very little information available on the cause of this error or what to do about it.

Your Environment

AppVeyor CI

@Mauin
Copy link
Collaborator

Mauin commented Oct 11, 2018

It looks like in both cases it fails to connect to the Kotlin compile daemon. This causes it to not perform incremental compilation.

@lock
Copy link

lock bot commented Jun 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related topics.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.