Skip to content

Instantly share code, notes, and snippets.

@aboisvert
Created August 24, 2012 20:47
Show Gist options
  • Save aboisvert/3455452 to your computer and use it in GitHub Desktop.
Save aboisvert/3455452 to your computer and use it in GitHub Desktop.
VERSION_NUMBER = "1.0.0"
GROUP = "buildr-junit"
repositories.remote << "http://www.ibiblio.org/maven2/"
define "buildr-junit" do
project.version = VERSION_NUMBER
project.group = GROUP
#test.using :junit
package(:jar)
end
public class Foo {
int foo = 1;
}
import static org.junit.Assert.*;
public class FooTest {
@org.junit.Test
public void testFoo() {
assertEquals(new Foo().foo, 1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment