Skip to content

Support Gradle's kotlinOptions.freeCompilerArgs #2670

@bcorso

Description

@bcorso

Someone ran into this issue in Dagger when trying to set the module name via kotlinOptions.freeCompilerArgs: google/dagger#4493.

In this case, using kotlin.compilerOptions.moduleName works (KSP supports this); however, it would be nice if KSP also checked the freeCompilerArgs as well. At the very least, consider checking the value and throwing an exception with an error message telling users to use the kotlin.compilerOptions API instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions