用Gradle建立一个项目

build.gradle 如果您设置了一个新项目,则可能需要使用以下内容 作为起点:

apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'java'


    sourceCompatibility = JDK8
    targetCompatibility = JDK8
    [compileJava, compileTestJava, javadoc]*.options*.encoding = 'UTF-8'
    repositories {
        mavenLocal()
        maven { url("http://maven.aliyun.com/nexus/content/groups/public") }
        maven { url ('http://192.168.6.147:8081/nexus/content/groups/public')}
    }

dependencies {
    compile group: 'com.epri.dcloud', name: 'dcloud.server', version: '1.1.25'

}

results matching ""

    No results matching ""