diff --git a/F-Droid/ant.properties b/F-Droid/ant.properties deleted file mode 100644 index e5d868bde..000000000 --- a/F-Droid/ant.properties +++ /dev/null @@ -1,3 +0,0 @@ -java.encoding=UTF-8 -java.source=1.7 -java.target=1.7 diff --git a/F-Droid/project.properties b/F-Droid/project.properties index b37ddfb4e..f9835af26 100644 --- a/F-Droid/project.properties +++ b/F-Droid/project.properties @@ -10,3 +10,10 @@ android.library.reference.7=../extern/Support/v7/appcompat # For java libraries, place symlinks in ../extern/symlinks-for-ant-and-eclipse/ source.dir=src;../extern/symlinks-for-ant-and-eclipse + +# With a target SDK of android-19 (4.4.2/KitKat) and a Java 1.7 compiler, you +# can use Java 1.7 features like the <> diamond operator, multi-catch, strings +# in switches, etc. zxing uses the <> operator, so Java 1.7 is required. +java.encoding=UTF-8 +java.source=1.7 +java.target=1.7