*-java: Use Java 8
This commit is contained in:
parent
52f907cd85
commit
9d7c060c6a
@ -13,7 +13,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
|
|||||||
termux_step_make() {
|
termux_step_make() {
|
||||||
cd prov
|
cd prov
|
||||||
local src_dirs="src/main/java ../core/src/main/java"
|
local src_dirs="src/main/java ../core/src/main/java"
|
||||||
javac $(find $src_dirs -name "*.java")
|
javac -encoding UTF-8 -source 1.8 -target 1.8 $(find $src_dirs -name "*.java")
|
||||||
_BUILD_JARFILE="$TERMUX_PKG_BUILDDIR/bcprov.jar"
|
_BUILD_JARFILE="$TERMUX_PKG_BUILDDIR/bcprov.jar"
|
||||||
rm -f "$_BUILD_JARFILE"
|
rm -f "$_BUILD_JARFILE"
|
||||||
for d in $src_dirs; do
|
for d in $src_dirs; do
|
||||||
|
@ -11,7 +11,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
|
|||||||
|
|
||||||
termux_step_make() {
|
termux_step_make() {
|
||||||
cd src/main/java
|
cd src/main/java
|
||||||
javac -encoding UTF-8 $(find . -name "*.java")
|
javac -encoding UTF-8 -source 1.8 -target 1.8 $(find . -name "*.java")
|
||||||
_BUILD_JARFILE="$TERMUX_PKG_BUILDDIR/commons-lang3.jar"
|
_BUILD_JARFILE="$TERMUX_PKG_BUILDDIR/commons-lang3.jar"
|
||||||
rm -f "$_BUILD_JARFILE"
|
rm -f "$_BUILD_JARFILE"
|
||||||
jar cf "$_BUILD_JARFILE" $(find . -name "*.class")
|
jar cf "$_BUILD_JARFILE" $(find . -name "*.class")
|
||||||
|
Loading…
Reference in New Issue
Block a user