blob: c9f4c54ba1c9ae14ceb6e57dac70eeac0f69f984 [file] [log] [blame]
Jean-Marie Henaffc9222172018-03-22 16:19:17 +01001Dx version: 1.13
2dx.bat and dx.jar are fetched from SDK build tools 26.0.0.
3dx.bat has been modified so that the code that checks if 'java' if on current path
4is removed and replaced by a direct reference to it.
5This is done because this relies on a tool found in the SDK and not present in the
6current package.
Rico Wind7fb994f2019-02-28 09:20:04 +01007Also, the deprecated java.ext.dirs argument has been removed.
8
Jean-Marie Henaffc9222172018-03-22 16:19:17 +01009Diff:
10
1126,29c26,29
12< set java_exe=
13< if exist "%~dp0..\tools\lib\find_java.bat" call "%~dp0..\tools\lib\find_java.bat"
14< if exist "%~dp0..\..\tools\lib\find_java.bat" call "%~dp0..\..\tools\lib\find_java.bat"
15< if not defined java_exe goto :EOF
16---
17> REM set java_exe=
18> REM if exist "%~dp0..\tools\lib\find_java.bat" call "%~dp0..\tools\lib\find_java.bat"
19> REM if exist "%~dp0..\..\tools\lib\find_java.bat" call "%~dp0..\..\tools\lib\find_java.bat"
20> REM if not defined java_exe goto :EOF
2187c87
22< call "%java_exe%" %javaOpts% -Djava.ext.dirs="%frameworkdir%" -jar "%jarpath%" %params%
23---
Rico Wind7fb994f2019-02-28 09:20:04 +010024> call java %javaOpts% -jar "%jarpath%" %params%
Jean-Marie Henaffc9222172018-03-22 16:19:17 +010025
26dexmerger.bat has been copied from dx.bat, and the command line has been updated
Jean-Marie Henaff34d85f72017-06-14 10:32:04 +020027according to the SDK dexmerger bash script to call the right class.