jeudi 22 décembre 2016

Downloading for too long time with gradle in IDEA

When I start a new project,it take me too long time to download the whole jar libs(for more than 5 hours),how can I deal with it?

This is the code in my build.gradle file:

import com.sun.org.apache.xalan.internal.xsltc.cmdline.Compile

apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'war'

sourceCompatibility = 1.7
version = '1.0'

repositories {
    mavenCentral()
}

dependencies {
    compile 'javax:javaee-api:7.0'
    compile 'mysql:mysql-connector-java:5.1.39'
    compile 'jstl:jstl:1.2'
    compile 'com.fasterxml.jackson.core:jackson-databind:2.5.3'
    compile 'org.mybatis:mybatis:3.4.1'
    compile 'commons-fileupload:commons-fileupload:1.3.1'
    compile 'org.springframework:spring-context:4.3.4.RELEASE'
    compile 'org.springframework:spring-jdbc:4.3.4.RELEASE'
    compile 'org.springframework:spring-webmvc:4.3.4.RELEASE'
    compile 'org.springframework:spring-context-support:4.3.4.RELEASE'
    compile 'org.projectlombok:lombok:1.16.6'
    compile 'org.mybatis:mybatis-spring:1.3.0'
    compile 'org.freemarker:freemarker:2.3.23'
    compile 'org.jasypt:jasypt:1.9.2'
}




Aucun commentaire:

Enregistrer un commentaire