android - Using Java 7 Source Level in Library Projects -
using new gradle build tools can set source level of android code java 7 java 6. gives me access bunch of niceties <>, string switches, , collapsable seek catch.
i working on android library project. if utilize source level 7 in library , client uses source level 6 in app, there conflict?
you're fine long utilize source level 1.7 , don't utilize of apis introduced in java 7 (this why ide complain if don't have actual java 6 jdk if target java 6). create sure set target level 1.6.
java android gradle
No comments:
Post a Comment