ecj: Update from 4.4.2 to 4.5.2

This commit is contained in:
Fredrik Fornwall 2016-05-03 11:50:38 +02:00
parent 044a7bd5ec
commit ad3050005c
3 changed files with 5 additions and 5 deletions

View File

@ -5,4 +5,4 @@ test -f $HOME/.termuxrc && . $HOME/.termuxrc
: ${ANDROID_HOME:="${HOME}/lib/android-sdk"}
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "build-tools-23.0.2"
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "android-21"
$ANDROID_HOME/tools/android update sdk --no-ui --all --no-https -t "android-23"

View File

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://www.eclipse.org/jdt/core/
TERMUX_PKG_DESCRIPTION="Eclipse Compiler for Java"
TERMUX_PKG_VERSION=4.4.2
TERMUX_PKG_SRCURL=http://ftp.acc.umu.se/mirror/eclipse.org/eclipse/downloads/drops4/R-${TERMUX_PKG_VERSION}-201502041700/ecj-${TERMUX_PKG_VERSION}.jar
TERMUX_PKG_VERSION=4.5.2
TERMUX_PKG_SRCURL=http://ftp.acc.umu.se/mirror/eclipse.org/eclipse/downloads/drops4/R-${TERMUX_PKG_VERSION}-201602121500/ecj-${TERMUX_PKG_VERSION}.jar
TERMUX_PKG_PLATFORM_INDEPENDENT=true
termux_step_extract_package () {
@ -26,7 +26,7 @@ termux_step_make () {
cd android-jar
# We need the android classes for JDT to compile against.
cp $ANDROID_HOME/platforms/android-21/android.jar .
cp $ANDROID_HOME/platforms/android-23/android.jar .
unzip android.jar
rm -Rf android.jar resources.arsc res assets
zip -r android.jar .

View File

@ -24,7 +24,7 @@ termux_step_make () {
cd android-jar
# We need the android.jar clases in jill format (.jack extension) for jack to compile against.
cp $ANDROID_HOME/platforms/android-21/android.jar .
cp $ANDROID_HOME/platforms/android-23/android.jar .
# Remove resources not needed for compilation to reduce size:
unzip android.jar
rm -Rf android.jar resources.arsc res assets