Skip to content

Remove double negation in configuration option names #2515

@mahozad

Description

@mahozad

Created this issue as discussed in #2513.

It would be great if the methods in Dokka Gradle plugin were converted to properties and also avoided double negative names.

So, for instance, noAndroidSdkLink.set(false) can be renamed to something like useAndroidSdkLink = true or isAndroidSdkLinkEnabled = true or enableAndroidSdkLink = true or similar.

As an example, here is some of Android Gradle Plugin (AGP) properties which were renamed in its recent versions:

android {
  buildTypes {
    release {
      isTestCoverageEnabled = true
      isMinifyEnabled = false
    }
  }
}

Are you willing to provide a PR?
Maybe (depends on if the maintainers want it and if I can).

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationAn issue/PR related to Dokka's configuration by the userenhancementAn issue for a feature or an overall improvementrunner: Gradle pluginAn issue/PR related to Dokka's Gradle plugintech-debtA technical issue that is not observable by the users, but improves maintainers quality of life

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions