プログラムに関してぬるま湯のような記事を書きます

gradle1.6からgroovyのconfigurationはdeprecatedになっています

May 22nd, 2013

gradle1.6からgroovyのconfigurationは非推奨になっています

まあ今さらですが、さきほどbuild.gradleを書いた時に、

1234567891011121314

$ gradle idea
The groovy configuration has been deprecated and is scheduled to be removed in Gradle 2.0. Typically, usages of 'groovy' can simply be replaced with 'compile'. In some cases, it may be necessary to additionally configure the 'groovyClasspath' property of GroovyCompile and Groovydoc tasks.
:ideaModule
Download http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.1.3/groovy-all-2.1.3.pom
Download http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.1.3/groovy-all-2.1.3-sources.jar
Download http://repo1.maven.org/maven2/org/codehaus/groovy/groovy-all/2.1.3/groovy-all-2.1.3.jar
:ideaProject
:ideaWorkspace
:idea
BUILD SUCCESSFUL
Total time: 11.174 secs
$