Greg Gigon wrote:
> 
> When we are trying to build, we got error: unable to resolve class
> javax.mail.internet.MimeMessage
> 
> When we inline the code from another.gradle in project B build.gradle we
> don't get the error message and everything works fine.
> 

Currently, buildscript{} blocks are inherited by subprojects but do not
affect scripts brought in with "apply from:". Try to move the buildscript{}
block to another.gradle.


Greg Gigon wrote:
> 
> When the code is inlined and we remove the buildscript dependency it still
> works (why? It shouldn't).
> 

The only possible explanation would be that root/build.gradle didn't get
recompiled. Are you really sure about this?

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org



--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Problems-with-apply-from-and-buildscript-dependencies-tp4381423p4381753.html
Sent from the gradle-user mailing list archive at Nabble.com.

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

    http://xircles.codehaus.org/manage_email


Reply via email to