Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Waibel2015-05-22 10:10:03 -0400
committerFlorian Waibel2015-05-22 10:10:03 -0400
commitcf1ddd13fdf8ec6e631087290997888afa83b743 (patch)
tree3636987bd8f7222bcf10f01a0c2291c22690ac85 /build.gradle
parent0fc020e365c87e21014bc17da54a08af30c2e2ad (diff)
downloadorg.eclipse.virgo.kernel-cf1ddd13fdf8ec6e631087290997888afa83b743.tar.gz
org.eclipse.virgo.kernel-cf1ddd13fdf8ec6e631087290997888afa83b743.tar.xz
org.eclipse.virgo.kernel-cf1ddd13fdf8ec6e631087290997888afa83b743.zip
Tunes test runtime to be able to run the JUnit tests from within Eclipse IDE
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle25
1 files changed, 24 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index ce31cd13..be492612 100644
--- a/build.gradle
+++ b/build.gradle
@@ -16,6 +16,8 @@ project(':kernel:org.eclipse.virgo.kernel.agent.dm') {
testCompile group: 'org.easymock', name: 'easymock', version: easymockVersion
testCompile project(':test:org.eclipse.virgo.test.stubs')
+ testRuntime "org.aspectj:aspectjrt:${project.aspectjVersion}"
+
compile group: "org.eclipse.virgo.mirrored", name: "org.slf4j.api", version: slf4jVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi", version: equinoxVersion, configuration: "compile", ext: "jar"
@@ -38,6 +40,7 @@ project(':kernel:org.eclipse.virgo.kernel.agent.dm') {
project(':kernel:org.eclipse.virgo.kernel.artifact') {
dependencies {
testCompile group: 'org.easymock', name: 'easymock', version: easymockVersion
+ testRuntime group: "org.eclipse.virgo.mirrored", name: "org.apache.commons.dbcp", version: commonsDbcpVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.slf4j.api", version: slf4jVersion, configuration: "compile", ext: "jar"
@@ -59,6 +62,9 @@ project(':kernel:org.eclipse.virgo.kernel.deployer') {
testCompile project(':medic:org.eclipse.virgo.medic.test')
testCompile project(':test:org.eclipse.virgo.test.stubs')
+ testRuntime "org.aspectj:aspectjrt:${project.aspectjVersion}"
+ testRuntime group: "org.eclipse.virgo.mirrored", name: "org.eclipse.equinox.region", version: equinoxRegionVersion, configuration: "compile", ext: "jar"
+
compile group: "org.eclipse.virgo.mirrored", name: "org.slf4j.api", version: slf4jVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi", version: equinoxVersion, configuration: "compile", ext: "jar"
@@ -98,6 +104,8 @@ project(':kernel:org.eclipse.virgo.kernel.deployer.dm') {
testCompile project(':medic:org.eclipse.virgo.medic.test')
testCompile project(':test:org.eclipse.virgo.test.stubs')
+ testRuntime "org.aspectj:aspectjrt:${project.aspectjVersion}"
+
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi", version: equinoxVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.springframework.beans", version: springframeworkVersion, configuration: "compile", ext: "jar"
@@ -146,10 +154,17 @@ project(':kernel:org.eclipse.virgo.kernel.dmfragment') {
project(':kernel:org.eclipse.virgo.kernel.model') {
dependencies {
+ testCompile group: "org.eclipse.virgo.mirrored", name: "org.slf4j.api", version: slf4jVersion, configuration: "compile", ext: "jar"
testCompile group: 'org.easymock', name: 'easymock', version: easymockVersion
+ testCompile group: "org.eclipse.virgo.mirrored", name: "org.springframework.beans", version: springframeworkVersion, configuration: "compile", ext: "jar"
+ testCompile group: "org.eclipse.virgo.mirrored", name: "org.springframework.context", version: springframeworkVersion, configuration: "compile", ext: "jar"
+ testCompile group: "org.eclipse.virgo.mirrored", name: "org.springframework.core", version: springframeworkVersion, configuration: "compile", ext: "jar"
+
testCompile project(':test:org.eclipse.virgo.test.stubs')
testCompile project(':kernel:org.eclipse.virgo.kernel.stubs')
+ testRuntime group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi.services", version: osgiServicesVersion, configuration: "compile", ext: "jar"
+
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi", version: equinoxVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.equinox.region", version: equinoxRegionVersion, configuration: "compile", ext: "jar"
@@ -161,7 +176,6 @@ project(':kernel:org.eclipse.virgo.kernel.model') {
compile project(':util:org.eclipse.virgo.util.jmx')
aspectpath project(':nano:org.eclipse.virgo.nano.core')
-
if (System.properties['weaving.enabled'] == 'true') {
aspectpath project(':medic:org.eclipse.virgo.medic')
aspectpath project(':util:org.eclipse.virgo.util.jmx')
@@ -190,6 +204,7 @@ project(':kernel:org.eclipse.virgo.kernel.equinox.extensions') {
dependencies {
testCompile group: 'org.easymock', name: 'easymock', version: easymockVersion
testCompile project(':test:org.eclipse.virgo.test.stubs')
+ testRuntime "org.aspectj:aspectjrt:${project.aspectjVersion}"
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi", version: equinoxVersion, configuration: "compile", ext: "jar"
}
@@ -215,6 +230,8 @@ project(':kernel:org.eclipse.virgo.kernel.services') {
testCompile project(':test:org.eclipse.virgo.test.stubs')
testCompile project(':medic:org.eclipse.virgo.medic.test')
+ testRuntime "org.aspectj:aspectjrt:${project.aspectjVersion}"
+
compile group: "org.eclipse.virgo.mirrored", name: "org.slf4j.api", version: slf4jVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi", version: equinoxVersion, configuration: "compile", ext: "jar"
@@ -297,6 +314,10 @@ project(':kernel:org.eclipse.virgo.kernel.userregion') {
testCompile group: 'org.easymock', name: 'easymock', version: easymockVersion
testCompile project(':test:org.eclipse.virgo.test.stubs')
testCompile project(':medic:org.eclipse.virgo.medic.test')
+ testCompile project(':repository:org.eclipse.virgo.repository')
+
+ testRuntime group: "org.eclipse.virgo.mirrored", name: "org.springframework.beans", version: springframeworkVersion, configuration: "compile", ext: "jar"
+ testRuntime "org.aspectj:aspectjrt:${project.aspectjVersion}"
compile group: "org.eclipse.virgo.mirrored", name: "org.slf4j.api", version: slf4jVersion, configuration: "compile", ext: "jar"
@@ -327,6 +348,8 @@ project(':kernel:org.eclipse.virgo.kernel.userregionfactory') {
testCompile group: 'org.easymock', name: 'easymock', version: easymockVersion
testCompile project(':test:org.eclipse.virgo.test.stubs')
+ testRuntime "org.aspectj:aspectjrt:${project.aspectjVersion}"
+
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi", version: equinoxVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.osgi.services", version: osgiServicesVersion, configuration: "compile", ext: "jar"
compile group: "org.eclipse.virgo.mirrored", name: "org.eclipse.equinox.region", version: equinoxRegionVersion, configuration: "compile", ext: "jar"

Back to the top