ProjectExtensions.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Unify access to Gradle/Project property via Kotlin delegated property

by making them available on both Project and Settings and allowing to

model optional properties as nullable delegated properties

and adding coverage for Gradle properties overriding mechanisms

(build, user home, command line) and mutation (Project.setProperty()).

allowing typed delegated properties on Project is a breaking change as a

type declaration is now required

  1. … 7 more files in changeset.
Polish the<T>(), configure<T>() and typeOf<T>() declarations

by making the return type explicit

  1. … 2 more files in changeset.
Add missing kdoc

  1. … 1 more file in changeset.
the<T>() and configure<T>() allow generic queries

  1. … 4 more files in changeset.
Merge pull request #758 from gradle/eskatos/api/apply

Introduce unambiguous PluginAware.apply() overloads

  1. … 2 more files in changeset.
Remove spurious extensions

  1. … 2 more files in changeset.
Polish unambiguous PluginAware.apply() overloads kdoc

  1. … 3 more files in changeset.
Polish unambiguous PluginAware.apply() overloads

  1. … 3 more files in changeset.
Refine Project.buildscript(ScriptHandlerScope.() -> Unit) extension

  1. … 2 more files in changeset.
Refine reified PluginAware.apply(to) extensions overloads

  1. … 2 more files in changeset.
Introduce unambiguous PluginAware.apply() overloads

  1. … 5 more files in changeset.
Allow to cross-configure buildscript {}

Build scripts body is cleared out of the effective buildscript block

Build script template plugins {} function throws

Project buildscript extension does the right thing

This commit does the buildscript block extraction twice, to be fixed.

  1. … 6 more files in changeset.
lint: annotations before modifier keywords

  1. … 2 more files in changeset.
Remove unused import

Polish documentation comments

  1. … 1 more file in changeset.
Enable project property delegation in any context

Fixes #535

  1. … 2 more files in changeset.
Merge pull request #646 from mkobit/list-property-extension

Add reified extension function for `ListProperty`

Remove unnecessary `Project.apply` extension

Add reified extension function for `ListProperty`

Signed-off-by: Mike Kobit <mkobit@gmail.com>

Account for PropertyState deprecation in favor of Property

And project.property() in favor of project.objects.property()

Take the opportunity and rename to messageProperty

  1. … 2 more files in changeset.
Account for PropertyState deprecation in favor of Property

And project.property() in favor of project.objects.property()

Take the opportunity and rename to messageProperty

  1. … 2 more files in changeset.
Add required square braces around kdoc links on @see & @throws tags

  1. … 14 more files in changeset.
Adjust code to nullability changes in the Gradle API

  1. … 8 more files in changeset.
Suppress warnings

  1. … 2 more files in changeset.
Enable jsr305 annotations

  1. … 4 more files in changeset.
Introduce `withGroovyBuilder` interoperability utility

For interoperability with plugins that rely on Groovy builders such as

the core `maven` plugin.

See #47

  1. … 3 more files in changeset.
remove applyfrom to achieve symmetry with apply plugin

  1. … 1 more file in changeset.
Add convenience `defaultTasks` extension

Accepting task references instead of task names.

Rename base package to org.gradle.kotlin.dsl

    • -0
    • +226
    ./ProjectExtensions.kt
  1. … 313 more files in changeset.