Author: joshcanfield Date: Wed Jun 29 19:17:41 2011 New Revision: 1141205 URL: http://svn.apache.org/viewvc?rev=1141205&view=rev Log: TAP5-116 - Fixed tapestry-ioc creates a dependency on tapestry-annotations instead of tapestry5-annotations.
Modified: tapestry/tapestry5/trunk/tapestry-ioc/build.gradle Modified: tapestry/tapestry5/trunk/tapestry-ioc/build.gradle URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-ioc/build.gradle?rev=1141205&r1=1141204&r2=1141205&view=diff ============================================================================== --- tapestry/tapestry5/trunk/tapestry-ioc/build.gradle (original) +++ tapestry/tapestry5/trunk/tapestry-ioc/build.gradle Wed Jun 29 19:17:41 2011 @@ -5,26 +5,33 @@ dependencies { compile project(':tapestry-annotations') compile project(':tapestry-json') compile project(":plastic") - + provided project(':tapestry-test') compile "javassist:javassist:3.12.1.GA" compile "javax.inject:javax.inject:1" - + compile "org.slf4j:slf4j-api:1.6.1" compile "log4j:log4j:1.2.14" compile "org.slf4j:slf4j-log4j12:1.6.1" - + compile "org.testng:testng:$testngVersion", { transitive = false } } +configure(install.repositories.mavenInstaller) { + pom.whenConfigured {pom -> + pom.dependencies.find {dep -> + dep.groupId == 'org.apache.tapestry' && dep.artifactId == 'tapestry-annotations' + }.artifactId = 'tapestry5-annotations' + } +} + ideaModule { - scopes.COMPILE.plus += configurations.provided + scopes.COMPILE.plus += configurations.provided } -test -{ - // Override the master build.gradle - systemProperties.remove("tapestry.service-reloading-enabled") +test { + // Override the master build.gradle + systemProperties.remove("tapestry.service-reloading-enabled") } \ No newline at end of file