Permalink
Browse files

Add junit test and gradle build support

  • Loading branch information...
1 parent 5a3c2dd commit d184a2247518d7d56a83dbb78e181f8c286be80c @glyn committed Dec 6, 2011
View
@@ -0,0 +1,2 @@
+build
+.gradle
View
14 README
@@ -1,2 +1,14 @@
The purpose of this repository is to develop a testcase which will check that the Spring framework bundles
-resolve inside an OSGi container.
+resolve inside an OSGi container.
+
+Pre-req's
+=========
+
+Gradle 1.0-milestone-6 was used for building. This should be installed as documented here: http://www.gradle.org/installation
+
+Building
+========
+
+gradle clean test
+
+
View
@@ -0,0 +1,9 @@
+apply plugin: 'java'
+
+repositories {
+ mavenCentral()
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.+'
+}
@@ -0,0 +1,11 @@
+package org.springframework.testspringbundleresolution;
+
+import org.junit.Test;
+
+public class TestSpringBundleResolution {
+
+ @Test
+ public void test() throws Exception {
+ System.out.println("Hello from a testcase!");
+ }
+}

0 comments on commit d184a22

Please sign in to comment.