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

Task to print Kotlin code to access available extensions to the console #229

Closed
bamboo opened this issue Jan 18, 2017 · 0 comments
Closed

Comments

@bamboo
Copy link
Member

bamboo commented Jan 18, 2017

Providing a simple way for users to get the Kotlin code required to access all extensions available in the project.

   ./gradlew :gskPrintExtensions

   /**
    * The [ReportingExtension].
    */
   val Project.reporting get() = the<ReportingExtension>()

   /**
    * The [CheckstyleExtension].
    */
   val Project.checkstyle get() = the<CheckstyleExtension>()

   /**
    * The [PublishingExtension].
    */
   val Project.publishing get() = the<PublishingExtension>()
  • pros
    • very simple
    • complete control to the user
    • performance
  • cons
    • user is almost own his/her own
@bamboo bamboo added this to the 0.8.0 milestone Jan 18, 2017
@eskatos eskatos changed the title Task to print Kotlin code to access available extensions / conventions to the console Task to print Kotlin code to access available extensions to the console Jan 20, 2017
@bamboo bamboo self-assigned this Jan 26, 2017
@bamboo bamboo closed this as completed Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant