-
Notifications
You must be signed in to change notification settings - Fork 4
/
bridj.patch
70 lines (68 loc) · 1.73 KB
/
bridj.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
diff --git a/BuildNative b/BuildNative
index d6de087..a63227e 100755
--- a/BuildNative
+++ b/BuildNative
@@ -29,35 +29,7 @@ UNAME_ARCH=`uname -m`
UNAME_OS=`uname -s | sed s/_NT-.*/_NT/`
function get_arch() {
- if [[ -n "$ARCH" ]]; then
- echo "$ARCH"
- elif [[ "$UNAME_OS" == "SunOS" ]]; then
- if [ "`isainfo -n`" = "amd64" ]; then
- echo "x64"
- else
- echo "x86"
- fi
- elif [[ "$UNAME_OS" == "Darwin" ]]; then
- echo "universal"
- else
- case $UNAME_ARCH in
- i86pc|i386|i486|i586|i686|x86)
- echo x86
- ;;
- x86_64|amd64)
- echo x64
- ;;
- arm*)
- if [[ -d /lib/arm-linux-gnueabihf ]] ; then
- echo "armhf"
- elif [[ -d /lib/arm-linux-gnueabi ]] ; then
- echo "armel"
- else
- failed "Unknown Linux arm flavour: please edit $0 and Platform.java"
- fi
- ;;
- esac
- fi
+ echo "aarch64"
}
function get_os() {
diff --git a/pom.xml b/pom.xml
index ec9a1b4..f97fe68 100644
--- a/pom.xml
+++ b/pom.xml
@@ -87,6 +87,15 @@
</extension>
</extensions>
<plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.8.1</version>
+ <configuration>
+ <source>1.8</source>
+ <target>1.8</target>
+ </configuration>
+ </plugin>
<!--plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>native-maven-plugin</artifactId>
@@ -314,6 +323,8 @@
<goal>jar</goal>
</goals>
<configuration>
+ <source>1.8</source>
+ <target>1.8</target>
<groups>
<group>
<title>Core Packages</title>