I am tring to get a jar dependency from Maven via the grails 3.1.5
gradle dependency Resolution . How do I increase timeout that gradle takes to get a maven dependency. Sure I have seen that the dependency takes quiet a longer time to be downloaded. But how can I configure gradle to wait longer in order to download the dependency
相关问题
- Could not read entry … from cache taskArtifacts.bi
- Grails External Configuration. Can't access to
- Configure gradle plugin based on future tasks
- How to fix the error Cannot change strategy of con
- Include pom.xml in Jar with gradle
相关文章
- IDEA2020 安装maven 插件后,springboot程序 SpringBootApplic
- pom文件中的插件定义
- pom.xml中的project为何报红
- Hibernate Tutorial - Where to put Mapping File?
- Android BuildConfig Field generating String incorr
- Cannot use org.jvnet.jax-ws-commons.jaxws-maven-pl
- Gradle Could not find method “() for arguments on
- New Maven install: mvn -version java.lang.ClassNot
The feature was added in Gradle here: https://github.com/gradle/gradle/pull/3041
You can increase the timeout with 2 properties:
As commented by Sue C, If you are using gradle 4.10.2 or later version use following properties:
./gradlew build -Dorg.gradle.internal.http.socketTimeout=60000 -Dorg.gradle.internal.http.connectionTimeout=60000