Skip to content

apiDump task is always in SKIPPED state when plugin applied on Android project. #61

@nevack

Description

@nevack

This check is always false https://github.com/Kotlin/binary-compatibility-validator/blob/master/src/main/kotlin/BinaryCompatibilityValidatorPlugin.kt#L87 for Android project.
This is because source files are located in src/main/java or src/main/kotlin by convention, but sourceSets list points only to src/release/kotlin and src/release/java.
There's no KotlinJvmAndroidCompilation with name main.

If I remove compilation.allKotlinSourceSets.any { it.kotlin.srcDirs.any { it.exists() } } check, API dump is generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions