Browse Source

Fix references for IDEs to take lists

pull/129/head
Rob Spieldenner 10 years ago
parent
commit
3c5f63ad4c
  1. 4
      dagger.gradle

4
dagger.gradle

@ -92,7 +92,7 @@ rootProject.idea.project.ipr.withXml { projectXml -> @@ -92,7 +92,7 @@ rootProject.idea.project.ipr.withXml { projectXml ->
tasks.ideaModule.dependsOn(prepareAnnotationGeneratedSourceDirs)
idea.module {
scopes.PROVIDED.plus += project.configurations.daggerCompiler
scopes.PROVIDED.plus += [project.configurations.daggerCompiler]
iml.withXml { xml->
def moduleSource = xml.asNode().component.find { it.@name = 'NewModuleRootManager' }.content[0]
moduleSource.appendNode('sourceFolder', [url: "file://\$MODULE_DIR\$/${relativePath(annotationGeneratedSources)}", isTestSource: false])
@ -103,7 +103,7 @@ idea.module { @@ -103,7 +103,7 @@ idea.module {
tasks.eclipseClasspath.dependsOn(prepareAnnotationGeneratedSourceDirs)
eclipse.classpath {
plusConfigurations += project.configurations.daggerCompiler
plusConfigurations += [project.configurations.daggerCompiler]
}
tasks.eclipseClasspath {

Loading…
Cancel
Save