Skip to content

Latest commit

 

History

History
 
 

kotlin-friendly-groovy-plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

kotlin-friendly-groovy-plugin

Demonstrates a Gradle plugin implemented in Groovy while still exposing a Kotlin DSL friendly API.

Check out the consuming build script to see the friendly API in action.

Check out the Groovy plugin source code for tips on how to achieve the same effect.

Project structure

This sample contains two projects:

  1. plugin - a Gradle plugin implemented in Groovy,
  2. consumer - a build that uses the Gradle plugin above.

Running

Run with:

./gradlew consumer

This will build and publish the Gradle plugin locally then run the books task contributed by the plugin in the consumer project.