If the wrapper was downloaded correctly, there will be the following files:

gradle-4.1-bin.zip.ok
gradle-4.1-bin.zip

These files are not shown on your screenshots. Instead you have .lck and .part files.

Could you please check if .zip files are available in the wrapper/dists/... after you run gradlew clean build?

0
Avatar
Permanently deleted user

@ Serge Baranov  

I'm sure the download is complete。use terminal execute "./gradlew clean build" and "./gradlw :bootRun" both ok.

use IDEA 2017.1.5 is OK

 

IDEA 2017.2.2

wrapper complete -> http://picture.antergone.com/blog/u3lbb.jpg

import prohect -> http://picture.antergone.com/blog/gihod.jpg

dowload -> http://picture.antergone.com/blog/euybf.jpg

 

0

Why is there .lck file present? Could it be that it triggers the download?

0
Avatar
Permanently deleted user

if I change the wrapper version

task wrapper(type: Wrapper) {
gradleVersion = '3.5'
}


execute "gradle wrapper" to generate gradle.properteis
rm -rf ${PROJECT_DIRECTORY}/.idea ${PROJECT_DIRECTORY}/.gradle
re-import this project and click refresh button


list gradle wrapper folder

http://picture.antergone.com/blog/hp463.jpg

 

0

请先登录再写评论。