Skip to content

An example of how you could write a Gradle plugin in Kotlin which supports Kotlin-DSL configuration of Gradle.

License

Notifications You must be signed in to change notification settings

Mazorius/gradle-plugin-template

Repository files navigation

Template Project for Gradle Plugins

To create a Gradle plugin from this template, please perform the following steps.

  1. First go to an empty directory where you want to work on this Gradle plugin.

The following problem may occur due to the set HEAD. However, this is not a problem and can be ignored.

fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Bash
git archive \
  --format tgz \
  --remote=git@github.com:Mazorius/gradle-plugin-template.git master \
  | tar -x && \
mv README.adoc.template README.adoc && \
git init && \
git add --all && \
git commit --message 'Initial Commit!'
Fish shell
git archive \
  --format tgz \
  --remote=git@github.com:Mazorius/gradle-plugin-template.git master \
  | tar -x; and \
mv README.adoc.template README.adoc; and \
git init; and \
git add --all; and \
git commit --message 'Initial Commit!'

About

An example of how you could write a Gradle plugin in Kotlin which supports Kotlin-DSL configuration of Gradle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages