From: Fredrik Fornwall Date: Tue, 3 May 2016 09:50:38 +0000 (+0200) Subject: ecj: Update from 4.4.2 to 4.5.2 X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/commitdiff_plain/ad3050005ccec7b2c0002c08459d390eb3765a27?hp=044a7bd5ec12a6f382eac8848e2617fa51f483fd ecj: Update from 4.4.2 to 4.5.2 --- diff --git a/install-sdk.sh b/install-sdk.sh index af5b9522..a5456e7f 100755 --- a/install-sdk.sh +++ b/install-sdk.sh @@ -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" diff --git a/packages/ecj/build.sh b/packages/ecj/build.sh index fb2049b0..ee973689 100755 --- a/packages/ecj/build.sh +++ b/packages/ecj/build.sh @@ -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 . diff --git a/packages/jack/build.sh b/packages/jack/build.sh index 35584fd6..8405393f 100755 --- a/packages/jack/build.sh +++ b/packages/jack/build.sh @@ -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