Commit Graph
28 Commits
Author SHA1 Message Date
Guice TeamandGuice Team ed6993aa14 Delete ant related build files.
PiperOrigin-RevId: 345749534
2020-12-04 13:51:03 -08:00
Guice TeamandGuice Team 383d377436 Bump snapshot version, update README & prior API xml
PiperOrigin-RevId: 339910400
2020-10-30 11:43:16 -07:00
samebandChris Povirk 485191facb bump snapshot version, update README & prior API xml
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=301892530
2020-03-19 17:20:52 -04:00
samebandRon Shapiro 04219a2537 bump snapshot version, update README & prior api xml
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=219159125
2018-10-31 11:16:55 -04:00
samebandColin Decker 67369fbf05 Post 4.2.1 release tasks: bump snapshot version, update README & prior API xml.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=214011694
2018-09-28 12:16:58 -04:00
Sam Berlin c9dda9d100 bump snapshot version. 2018-02-28 14:14:01 -05:00
ronshapiroandRon Shapiro fe67d047ff Add Automatic-Module-Names to Guice and all of the extensions
https://github.com/google/guice/issues/1085

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184283324
2018-02-02 14:44:26 -05:00
lukesandSam Berlin 751b555176 Run google-java-format on all Guice code.
configure a presubmit to ensure that it stays formatted.

Highlights include:
* simplified import order
* method annotations are now consistently defined on the preceding line
* javadoc reformatted to 100 chars column width

One test that contained line numbers in error messages had to be modified and
the formatter didn't like some of the more complicated preprocessor directives
(MOE and AOP).

To avoid formatting the copyright notices as javadoc i did a preprocessing step to rewrite the initial '/**' to '/*' using perl

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132692207
2016-09-13 11:47:18 -04:00
lukesandSam Berlin 713c06cce9 Fix issues reported by errorprone
99% of this is adding missing @Override annotations, in the long tail we also have

* insert missing calls to Assert.fail() in tests that are testing exception behavior
* rewrite a few cases of Foo.class.instanceof(c) to c instanceof Foo
* rewrite Class.newInstance - > Class.getConstructor().newInstance() which doesn't break checked exception checking.
* adding @javax.inject.Inject annotations to methods that override methods annotated with @javax.inject.Inject

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=131839622
2016-09-07 17:45:54 -04:00
Sam Berlin abf12145c1 update versions. 2016-06-17 16:37:46 -04:00
cgdecker d252543632 Update version to 4.0.1-SNAPSHOT and update README to point to 4.0 as the latest release.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=92292029
2015-04-29 13:00:17 -04:00
cgdecker 646e1742c0 Add more missing @since 4.0 and remove references to *-3.0.jar in extensions' package-info.java files.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=92005346
2015-04-28 11:51:58 -04:00
christophfandSam Berlin 32780fa2a3 Update OptionalBinder javadoc comment to use toInstance() vs to() when a binding value is used.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=86504275
2015-02-24 18:28:17 -05:00
cgdeckerandSam Berlin 136bc2015e Remove all .iml and .ipr IntelliJ project files and add IntelliJ project files and directories to .gitignore.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=77967915
2014-10-20 13:09:12 -04:00
Sam Berlin b6c35cd58a Update the opensource jars to asm 5.0, fix up the POMs & ant scripts.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=63496902
2014-03-20 16:56:37 -04:00
Christian Edward Gruber 41c1c29775 Add ignores for ant build spam. 2014-02-13 10:55:32 -08:00
Christian Edward Gruber 3236b100a9 Replace guava 11 with 16 and extract Guava as a separate dependency.
Also, tidy up a teensy bit of test infrastructure, make sure OSGI test is excluded since it's designed for ant-only, and make maven tests fork, as they run out of permgen consistently. Lastly, make the build system enforce a 1.6 minimum, not a 1.5 minimum.
2014-02-13 10:41:42 -08:00
Christian Edward Gruber a0e734452f Restore versions to 4.0-SNAPSHOT 2013-07-31 18:53:09 -07:00
Christian Edward Gruber ce48fa81e5 Bump version numbers to release 4.0-beta. 2013-07-29 09:18:44 -07:00
Stuart McCulloch 7d7277121d Actually pom versions should really be 3.1.0 to reflect the addition of a couple of new features (ProvisionListener SPI) 2012-08-31 10:41:33 +01:00
Stuart McCulloch 7f6a136a28 Bump pom versions towards next maintenance release 2012-08-31 10:14:56 +01:00
sberlin b7a02b02d8 * Remove unused imports
* Sort imports
* Convert tabs to spaces
* Fix the ant no_aop build


Revision created by MOE tool push_codebase.
MOE_MIGRATION=2532


git-svn-id: https://google-guice.googlecode.com/svn/trunk@1572 d779f126-a31b-0410-b53b-1d3aecad763e
2011-07-08 00:34:16 +00:00
sberlin d9c913acca switch Guice from manually repackaging Guava to depending on Guava. it's still jarjar'd right now, which is causing a ~400k increase in guice-snapshot.jar. next step is to switch to ProGuard to remove the unnecessary code and cut it back down (even further?!). this will let people build from Guice source and depend directly on Guava code without having to worry about hiding internal/util.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1558 d779f126-a31b-0410-b53b-1d3aecad763e
2011-06-26 21:02:54 +00:00
mcculls 8846db3f75 Update Maven poms to use new jarjar processing rules, allow jarjar and munge profiles to be turned off, and synchronize bundle headers in Ant and Maven builds
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1360 d779f126-a31b-0410-b53b-1d3aecad763e
2010-11-04 02:22:00 +00:00
sberlin 6e3709644a issue 16. hide internal things (that can be hidden). need to followup to limit visibility on internal things that need to stay pseudo-open and really close the rest.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1322 d779f126-a31b-0410-b53b-1d3aecad763e
2010-10-27 01:48:00 +00:00
sberlin 103af50f39 update extension package-info.java files to reference 3.0 instead of 2.0, also fix issue 563 -- assistedinject package-info referenced the wrong jar name.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1317 d779f126-a31b-0410-b53b-1d3aecad763e
2010-10-25 03:42:09 +00:00
mcculls bc7e1502d9 Issue 552: add buildable maven poms
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1305 d779f126-a31b-0410-b53b-1d3aecad763e
2010-10-21 23:36:09 +00:00
sberlin f8537eaaaf move extensions that weren't under extensions/ into that directory. simplify paths so everything is uniform for extensions.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@1205 d779f126-a31b-0410-b53b-1d3aecad763e
2010-08-21 23:50:30 +00:00