Skip to content

Instantly share code, notes, and snippets.

@ishideo
Created May 15, 2018 08:27
Show Gist options
  • Save ishideo/2a51eaf6292df6509173a0c8041ec59f to your computer and use it in GitHub Desktop.
Save ishideo/2a51eaf6292df6509173a0c8041ec59f to your computer and use it in GitHub Desktop.
@echo off
set HTTP_CLIENT=wget --no-check-certificate -O
set HTTP_CLIENT=curl -f -L -k -o
set HTTP_PROXY=yourserver:8080
set HTTPS_PROXY=yourserver:8080
set JAVA_HOME=%~dp0
set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=yourserver -Dhttp.proxyPort=8080 -Dhttp.proxyUser=username -Dhttp.proxyPassword=password"
set PATH=%PATH%;%JAVA_HOME%bin;%~dp0kotlinc\bin;%~dp0
cd /d "%~dp0"
cmd.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment