Hi,
Is something like this possible:
apply id: 'groovy'
sourceSets {
main {
groovy {
srcDirs "grails-app/conf",
"grails-app/domain",
"grails-app/controllers",
"grails-app/services",
"grails-app/taglib",
"grails-app/util",
"src/groovy",
"src/java"
srcDir(projectDir)//.include("*GrailsPlugin.groovy")
}
}
}
repositories {
mavenCentral()
}
dependencies {
compile "org.grails:grails-crud:1.1.2",
"org.grails:grails-gorm:1.1.2"
groovy "org.codehaus.groovy:groovy-all:1.6.7"
}
With a recent 0.9 snapshot, the above build file only results in the
*GrailsPlugin.groovy file being compiled. The trouble is, a Grails
plugin project is rather awkward because there is one file in the root
of the project that requires compiling. Can source sets handle this?
Thanks,
Peter
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email