You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
increase java source level to 1.8
Java 8 is supported in art_standalone for quite some time now and recent openJDK releases dropped Java 7 support
This commit is contained in:
@@ -18,9 +18,9 @@ package android.util;
|
|||||||
|
|
||||||
public interface AttributeSet {
|
public interface AttributeSet {
|
||||||
public int getAttributeCount();
|
public int getAttributeCount();
|
||||||
default String getAttributeNamespace (int index) {
|
/*default*/ String getAttributeNamespace (int index); /* {
|
||||||
return null;
|
return null;
|
||||||
}
|
}*/
|
||||||
public String getAttributeName(int index);
|
public String getAttributeName(int index);
|
||||||
public String getAttributeValue(int index);
|
public String getAttributeValue(int index);
|
||||||
public String getAttributeValue(String namespace, String name);
|
public String getAttributeValue(String namespace, String name);
|
||||||
|
|||||||
@@ -489,6 +489,6 @@ hax_jar = jar('hax', [
|
|||||||
],
|
],
|
||||||
java_args: [
|
java_args: [
|
||||||
'-bootclasspath', bootclasspath,
|
'-bootclasspath', bootclasspath,
|
||||||
'-source', '1.7', '-target', '1.7',
|
'-source', '1.8', '-target', '1.8',
|
||||||
'-h', join_paths(dir_base, 'src/api-impl-jni/generated_headers')
|
'-h', join_paths(dir_base, 'src/api-impl-jni/generated_headers')
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user