Hi all,

When I do this I get "Could not find property 'com' on project
':someSubproject'":

subprojects {
        buildscript {
                dependencies {
                        classpath files(
"$project.rootProject.projectDir/libs/gradle-onejar-0.1-SNAPSHOT.jar"
)
                }
        }

        apply plugin: com.curiousattemptbunny.gradle.onejar.OneJarPlugin

        // ....
}

Yet when I remove the above from the root build.gradle and push the
subproject { ... } contents down to each subproject's build.gradle,
then it works.

Is it legal to define buildscript configurations for subprojects? Or
is there something else that I'm obviously doing wrong?

Cheers,
Merlyn

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to