3
에 바르. 읽기 명령 줄 Gradle을 내가 작업이 내 <code>build.gradle</code> 클래스
내가 시도 :.\gradlew.bat run -Dhttpport=8825 -Phttpport=8825
하지만 내 클래스의 라인 :
log.info "port = ${System.getProperty('httpport')}"
log.info "port = ${System.getenv('httpport')}"
로그 두 경우 모두에 대한 null
의.
무엇이 누락 되었습니까?