I'm trying to use some supplied code that relies on Java 1.7:
new HashSet<>();

error: diamond operator is not supported in -source 1.6

But in my build.gradle I have:
android {
  /* the usual ... */

  sourceCompatibility = 1.7
  targetCompatibility = 1.7

}


But I continue to get the error. What do I need to do to compile the Java 1.7 
code?
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to