2016-06-23 4 views
1

이 오류 메시지는 무엇을 의미합니까?그라데이션으로 빌드 할 수 없습니다

FAILURE: Build failed with an exception. 

* What went wrong: 
Could not resolve all dependencies for configuration ':compile'. 
> Could not find com.jme3:xmlpull-xpp3:3.0.0.20140325-SNAPSHOT. 
    Searched in the following locations: 
     https://jcenter.bintray.com/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/maven-metadata.xml 
     https://jcenter.bintray.com/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.pom 
     https://jcenter.bintray.com/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.jar 
     https://repo1.maven.org/maven2/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/maven-metadata.xml 
     https://repo1.maven.org/maven2/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.pom 
     https://repo1.maven.org/maven2/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.jar 
     https://mvnrepository.com/artifact/cz.advel.jbullet/jbullet/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/maven-metadata.xml 
     https://mvnrepository.com/artifact/cz.advel.jbullet/jbullet/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.pom 
     https://mvnrepository.com/artifact/cz.advel.jbullet/jbullet/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.jar 
     https://mvnrepository.com/artifact/org.cogchar/ext.bundle.opengl.jmonkey/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/maven-metadata.xml 
     https://mvnrepository.com/artifact/org.cogchar/ext.bundle.opengl.jmonkey/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.pom 
     https://mvnrepository.com/artifact/org.cogchar/ext.bundle.opengl.jmonkey/com/jme3/xmlpull-xpp3/3.0.0.20140325-SNAPSHOT/xmlpull-xpp3-3.0.0.20140325-SNAPSHOT.jar 
    Required by: 
     :spaceworld:unspecified > org.cogchar:ext.bundle.opengl.jmonkey:1.1.3 

* Try: 
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. 

BUILD FAILED 

내 build.gradle

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

mainClassName = 'spaceworld.SpaceUFO' 

repositories { 
    jcenter() 
} 

ext.jmeVersion = "[3.1,)" 

project(":assets") { 
    apply plugin: "java" 

    buildDir = rootProject.file("build/assets") 

    sourceSets { 
     main { 
      resources { 
       srcDir '.' 
      } 
     } 
    } 
} 
repositories { 
    mavenCentral() 
    maven { 
     url "https://mvnrepository.com/artifact/cz.advel.jbullet/jbullet" 

    } 
    maven { 

     url "https://mvnrepository.com/artifact/org.cogchar/ext.bundle.opengl.jmonkey" 

    } 
} 



dependencies { 

    compile "org.jmonkeyengine:jme3-core:$jmeVersion" 
    compile "org.jmonkeyengine:jme3-desktop:$jmeVersion" 
    compile "org.jmonkeyengine:jme3-lwjgl:$jmeVersion" 
    compile "org.jmonkeyengine:jme3-blender:$jmeVersion" 
    compile "org.jmonkeyengine:jme3-bullet:$jmeVersion" 
    compile "org.jmonkeyengine:jme3-plugins:$jmeVersion" 
    compile "org.jmonkeyengine:jme3-networking:$jmeVersion" 

    compile group: "cz.advel.jbullet", name: "jbullet", version: "20101010" 

    compile group: "org.cogchar", name: "ext.bundle.opengl.jmonkey", version: "1.1.3" 

    compile files('libs/cai-nmgen-0.2.0.jar') 

    runtime project(':assets') 
} 

task wrapper(type: Wrapper) { 
} 

task createDirs << { 

    def pkg = 'spaceworld' 
    def dirs = [ 
      file("./src/main/java/$pkg"), 
      file("./src/main/resources"), 
      file("./assets/Interface"), 
      file("./assets/MatDefs"), 
      file("./assets/Materials"), 
      file("./assets/Models"), 
      file("./assets/Scenes"), 
      file("./assets/Shaders"), 
      file("./assets/Sounds"), 
      file("./assets/Textures"), 
    ] 

    dirs.each { 
     if (!it.exists()) { 
      println "Creating " + it 
      it.mkdirs() 
     } 
     if (it.listFiles().length == 0) { 
      def stub = new File(it, 'removeme.txt') 
      println "Creating stub file to allow git checkin, file:$stub" 
      stub.text = "Remove me when there are files here." 
     } 
    } 
} 

나는 종속성을 추가하는 방법을 이해하지 않습니다.

답변

1

종속성 com.jme3:xmlpull-xpp3:3.0.0.20140325-SNAPSHOT은 지정한 리포지토리에 존재하지 않습니다.

가능한 이유는 :

  • 당신은 의존성을 맞춤법이 틀린.
  • 당신은 저장소를 빠져 나갔습니다.
  • 로컬 Maven 저장소 또는 gradle 캐시가 손상되었습니다.

이 종속성의 출처와 문제를 해결하기 위해 수행해야 할 작업을 파악하기 위해 종속성 트리를 살펴보십시오.

+0

링크도 repo 페이지에서 끊어집니다. http://mvnrepository.com/artifact/org.cogchar/ext.bundle.opengl.jmonkey/1.1.3 –

+0

대신 http : // mvnrepository를 추가해야합니까? co.kr/artifact/org.ogce/xpp3/1.1.6? –

+1

죄송합니다. 귀하의 의견을 이해할 수 없습니다. 다른 의존성에 대해 말합니까? –

관련 문제