Closed marcocamacho closed 8 years ago
androidGroovy {
sourceSets {
main {
groovy {
srcDirs += 'src/main/java'
}
}
}
}
This isn't available in plugin 0.3.8, it became available in 0.3.9
I followed the instructions to add groovy to an existing project by adding the sourceSets. Plug in versions are:
com.android.tools.build:gradle:1.5.0
org.codehaus.groovy:gradle-groovy-android-plugin:0.3.8
Gradle and Groovy versions are:
Gradle 2.10
Groovy: 2.4.4
build.gradle looks like this:
The following error is displayed: