We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b276b5 commit f69b6e1Copy full SHA for f69b6e1
pythonforandroid/toolchain.py
@@ -816,6 +816,14 @@ def apk(self, args):
816
env["ANDROID_HOME"] = self.ctx.sdk_dir
817
818
gradlew = sh.Command('./gradlew')
819
+ if exists('/usr/bin/dos2unix'):
820
+ # .../dists/bdisttest_python3/gradlew
821
+ # .../build/bootstrap_builds/sdl2-python3crystax/gradlew
822
+ # if docker on windows, gradle contains CRLF
823
+ output = shprint(
824
+ sh.Command('dos2unix'), gradlew._path,
825
+ _tail=20, _critical=True, _env=env
826
+ )
827
if args.build_mode == "debug":
828
gradle_task = "assembleDebug"
829
elif args.build_mode == "release":
0 commit comments