diff options
author | James Moger <james.moger@gitblit.com> | 2013-11-18 22:31:37 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-11-29 11:05:46 -0500 |
commit | cacf8bff097fbb66a7be1bfe267b5da2605145f8 (patch) | |
tree | 7096df41b5944c569b1db24203eae8dcfa26ba04 /build.moxie | |
parent | 79cad53bba094cffa1d25581edbf4972a5158cd4 (diff) | |
download | gitblit-cacf8bff097fbb66a7be1bfe267b5da2605145f8.tar.gz gitblit-cacf8bff097fbb66a7be1bfe267b5da2605145f8.zip |
Use Dagger to inject managers into all filters and servlets
Change-Id: I9bb2cc0cbfac9841b13bed15a474fefb24355cd4
Diffstat (limited to 'build.moxie')
-rw-r--r-- | build.moxie | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build.moxie b/build.moxie index 7816c927..acc1afb1 100644 --- a/build.moxie +++ b/build.moxie @@ -57,6 +57,7 @@ mainclass: com.gitblit.GitBlitServer # a scope to each directory. sourceDirectories: - compile 'src/main/java' +- compile 'src/main/dagger' apt - test 'src/test/java' # Moxie supports one site-scoped directory for mx:doc - site 'src/site' @@ -120,6 +121,9 @@ properties: { # dependencies: +# Dagger dependency injection library (annotation processor) +- compile 'com.squareup.dagger:dagger:1.1.0' :war apt +- compile 'com.squareup.dagger:dagger-compiler:1.1.0' :war optional apt # Standard dependencies - compile 'com.beust:jcommander:1.17' :fedclient :authority - compile 'log4j:log4j:1.2.17' :war :fedclient :authority |