Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Cannot get plugin to use Http instead of Https #81

Open
barmonger opened this issue Aug 11, 2015 · 1 comment
Open

Cannot get plugin to use Http instead of Https #81

barmonger opened this issue Aug 11, 2015 · 1 comment

Comments

@barmonger
Copy link

Hi

The company I work for is using a firewall, with a self-signed certificate, which decrypts and reencrypts all https traffic between us and the internet, which (among other things) breaks the download of Android SDK updates via https.

I've tried setting the system property android.preferHttp to 'y' in gradle.properties (and in the Windows environment variables) but the sdk-manager-plugin tries to download via https anyway.
I can read the system property by manually calling "println java.lang.System.getProperty('android.preferHttp')" in a Gradle task.

How do I supply the system properties to the sdk manager plugin so that it doesn't use https?

TIA

@barmonger
Copy link
Author

It appears that when the the code was merged together (in #21) the part about the https property wasn't added (only the proxy part made it to master).
Is it possible to have it re-added again?

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant