bump version and move proguard to scripts
This commit is contained in:
parent
c165070c5e
commit
1b1670427b
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
group 'baritone'
|
group 'baritone'
|
||||||
version '0.0.2'
|
version '0.0.3'
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -5,7 +5,7 @@ wget https://downloads.sourceforge.net/project/proguard/proguard/6.0/proguard6.0
|
|||||||
unzip proguard6.0.3.zip 2>&1 > /dev/null
|
unzip proguard6.0.3.zip 2>&1 > /dev/null
|
||||||
cd build/libs
|
cd build/libs
|
||||||
echo "-injars 'baritone-$VERSION.jar'" >> api.pro # insert current version
|
echo "-injars 'baritone-$VERSION.jar'" >> api.pro # insert current version
|
||||||
cat ../../proguard.pro | grep -v "this is the rt jar" | grep -v "\-injars" >> api.pro # remove default rt jar and injar lines
|
cat ../../scripts/proguard.pro | grep -v "this is the rt jar" | grep -v "\-injars" >> api.pro # remove default rt jar and injar lines
|
||||||
echo "-libraryjars '$(java -verbose 2>/dev/null | sed -ne '1 s/\[Opened \(.*\)\]/\1/p')'" >> api.pro # insert correct rt.jar location
|
echo "-libraryjars '$(java -verbose 2>/dev/null | sed -ne '1 s/\[Opened \(.*\)\]/\1/p')'" >> api.pro # insert correct rt.jar location
|
||||||
tail api.pro # debug, print out what the previous two commands generated
|
tail api.pro # debug, print out what the previous two commands generated
|
||||||
cat api.pro | grep -v "\-keep class baritone.api" > standalone.pro # standalone doesn't keep baritone api
|
cat api.pro | grep -v "\-keep class baritone.api" > standalone.pro # standalone doesn't keep baritone api
|
||||||
|
0
proguard.pro → scripts/proguard.pro
vendored
0
proguard.pro → scripts/proguard.pro
vendored
Loading…
Reference in New Issue
Block a user