Skip to content
This repository was archived by the owner on Aug 19, 2020. It is now read-only.
This repository was archived by the owner on Aug 19, 2020. It is now read-only.

Generate extension accessors by default #397

@bamboo

Description

@bamboo

Before v0.10.1, extension accessors had to be explicitly enabled via a project property, this is no longer the case and accessors for any extensions introduced during the evaluation of the plugins block will be available by default. This means the following Gradle build script will now work as expected without any additional configuration:

plugins {
    application
}

application { // application extension accessor
    mainClassName = "my.App"
}

This behaviour can still be disabled via a Gradle project property:

org.gradle.kotlin.dsl.accessors=off

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions