Gradle Groovy Plugin: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* [[Groovy#Gradle_Support|Groovy]] | * [[Groovy#Gradle_Support|Groovy]] | ||
=Overview= | =Overview= | ||
The Groovy plugin introduces a new "groovy" [[Gradle_Java_Plugin#Source_Set|source set]], and its corresponding compilation tasks "compileGroovy", "compileTestGroovy". | |||
<syntaxhighlight lang='groovy'> | <syntaxhighlight lang='groovy'> | ||
plugins { | plugins { |
Revision as of 07:04, 28 March 2021
External
Internal
Overview
The Groovy plugin introduces a new "groovy" source set, and its corresponding compilation tasks "compileGroovy", "compileTestGroovy".
plugins {
id 'groovy'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.codehaus.groovy:groovy-all:3.0.7'
}
TODO
Gradle in Action Section 11.2.2 Building Groovy Projects.