Skip to content

[KSP2] Wrong internal method name with custom moduleName compiler option #2415

@bacecek

Description

@bacecek

Steps to reproduce:
Specify moduleName in Android module :app:

kotlin {
    compilerOptions {
        moduleName = "foobar"
    }
}

In that case KSP2 will use default app_debug for internal methods instead of foobar_debug and Java compilation will fail.
KSP1 works correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions