白玉楼之梦 - szszss' blog
  • About
  • MCP&Forge教程
  • Shadersmod教程
  • FGOW
  • 辐射废墟算号器
  • 夜间模式
    • 关闭
    • 打开
  • 简繁转换
    • 不转换
    • 简体中文
    • 繁体中文
  • ForgeGradle on Wall - 科学使用FG

    17条回复

    这个文章已经被废除了,原有内容已转至http://www.hakugyokurou.net/wordpress/?page_id=1337

    本条目发布于2014/07/26。属于Minecraft、游戏分类。作者是szszss。

    文章导航

    ← 逝去的0x10c与它的小伙伴 (技术上)最好的国产MC? - Project-0 →

    展开底侧工具栏

    近期文章

    • OpenShader月(nian)报 #2
    • FGOW与FMM停止维护
    • OpenShader月报 #1
    • OpenShader月报 #0
    • [新坑预告] Yet another shadersmod implementation

    近期评论

    • kerocate发表在《OpenShader月(nian)报 #2》
    • Eree发表在《About》
    • skeleton发表在《基于FML的MinecraftMod制作教程(1) - MCP/FG和IDE的配置》
    • manageryzy发表在《FGOW与FMM停止维护》
    • szszss发表在《OpenShader月报 #1》

    文章归档

    • 2018年二月
    • 2017年八月
    • 2017年四月
    • 2016年十二月
    • 2016年八月
    • 2016年七月
    • 2016年六月
    • 2016年四月
    • 2016年三月
    • 2016年二月
    • 2015年十一月
    • 2015年十月
    • 2015年八月
    • 2015年七月
    • 2015年五月
    • 2015年四月
    • 2015年三月
    • 2015年二月
    • 2015年一月
    • 2014年十二月
    • 2014年十月
    • 2014年九月
    • 2014年八月
    • 2014年七月
    • 2014年六月
    • 2014年三月
    • 2014年一月
    • 2013年十一月
    • 2013年十月
    • 2013年九月
    • 2013年八月
    • 2013年七月
    • 2013年六月
    • 2013年五月
    • 2013年四月
    • 2013年三月
    • 2013年一月
    • 2012年十二月
    • 2012年十一月
    • 2012年十月

    分类目录

    • 0x10c
    • Java
    • Minecraft
    • Proteus
    • SCP基金会
    • Web
    • 东方
    • 图形学
    • 日常
    • 未分类
    • 游戏
    • 编程
    • 软件工程

    功能

    • 登录
    • 文章RSS
    • 评论RSS
    • WordPress.org

    《ForgeGradle on Wall - 科学使用FG》上有17条评论

    1. Co 2014/07/2610:06

      0.0再次来看大触卖萌

      回复 ↓
    2. manageryzy 2014/07/2622:18

      forge gradle本来就很方便,如果,你翻墙的话

      回复 ↓
    3. sahdsg 2014/08/2010:33

      gradlew setupClassicWorkspace
      The assetDir is deprecated! Use runDir instead! runDir set to eclipse/assets/..

      ****************************
      Powered By MCP:
      http://mcp.ocean-labs.de/
      Searge, ProfMobius, Fesh0r,
      R4wk, ZeuX, IngisKahn
      MCP Data version : unknown
      ****************************

      FAILURE: Build failed with an exception.

      * What went wrong:
      A problem occurred configuring root project 'forge172'.
      > com.google.gson.stream.MalformedJsonException: Unterminated string at line 2912 column 15

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

      BUILD FAILED

      这要怎么解决啊

      回复 ↓
      1. szszss 文章作者2014/08/2019:53

        看上去像是json的问题...检查一下assestIndexUrl那项有没有问题吧,实在不行去掉然后再试试.

        回复 ↓
    4. HopeAsd 2014/08/2722:51

      ****************************
      Powered By MCP:
      http://mcp.ocean-labs.de/
      Searge, ProfMobius, Fesh0r,
      R4wk, ZeuX, IngisKahn
      MCP Data version : unknown
      ****************************

      FAILURE: Build failed with an exception.

      * What went wrong:
      Failed to notify task execution graph listener.
      > net.minecraftforge.gradle.delayed.DelayedFile.call()Ljava/io/File;

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

      具体报错:http://pan.baidu.com/s/1hq1in0C
      请问如何解决

      回复 ↓
      1. szszss 文章作者2014/08/2802:55

        修复完毕 ;w;

        回复 ↓
    5. 逗比君 2014/12/1420:38

      请问为什么我运行"gradlew.bat tasks"后出现如下错误:
      "Failed to notify ProjectEvaluationListener.afterEvaluate(), but primary configur
      ation failure takes precedence.
      org.gradle.api.ProjectConfigurationException: You must set the Minecraft Version"
      .....
      "FAILURE: Build failed with an exception.

      * Where:
      Build file 'C:\Users\Administrator\Desktop\forge-1.7.2-10.12.2.1147-src\build.gr
      adle' line: 19

      * What went wrong:
      A problem occurred evaluating root project 'forge-1.7.2-10.12.2.1147-src'.
      > net.minecraftforge.gradle.user.patch.UserPatchBasePlugin.getVersionsJsonUrl()L
      java/lang/String;

      * 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文件内容:
      "buildscript {
      repositories {
      mavenCentral()
      maven {
      name = "forge"
      url = "http://files.minecraftforge.net/maven"
      }
      maven {
      name = "sonatype"
      url = "https://oss.sonatype.org/content/repositories/snapshots/"
      }
      }
      dependencies {
      classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
      classpath files('fgow-1.0.2.jar')
      }
      }

      apply plugin: 'fgow'

      version = "1.0"
      group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
      archivesBaseName = "modid"

      minecraft {
      version = "1.7.2-10.12.2.1147"
      assetDir = "eclipse/assets"
      }
      ......
      "

      请楼主看一下原因何在~

      回复 ↓
    6. Pingback引用通告: Co的基于ForgeModLoader的MinecraftMod制作教程(1) | Meta World

    7. sahdsg 2015/04/0518:28

      gooder是什么鬼

      回复 ↓
      1. szszss 文章作者2015/04/0622:10

        Simplified English: good - gooder - goodest (笑)

        回复 ↓
    8. Pingback引用通告: 第二章—配置开发环境 | KSの彼方

    9. mcdarc 2015/05/2409:41

      纯老外源报错:
      FAILURE: Build failed with an exception.

      * What went wrong:
      A problem occurred configuring root project 'forge-1.7.10_pre4-10.12.2.1149-pr
      elease-src'.
      > Could not resolve all dependencies for configuration ':classpath'.
      > Could not resolve net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT.
      Required by:
      :forge-1.7.10_pre4-10.12.2.1149-prerelease-src:unspecified > net.mine
      aftforge.gradle:ForgeGradle:1.2-SNAPSHOT
      > Unable to load Maven meta-data from http://files.minecraftforge.net/ma
      n/net/minecraftforge/srg2source/Srg2Source/3.2-SNAPSHOT/maven-metadata.xml.
      > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftf
      ge/srg2source/Srg2Source/3.2-SNAPSHOT/maven-metadata.xml'.
      > Connection to http://files.minecraftforge.net refused

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

      BUILD FAILED

      Total time: 35.774 secs

      混合报错:
      FAILURE: Build failed with an exception.

      * What went wrong:
      A problem occurred configuring root project 'forge-1.7.10_pre4-10.12.2.1149-prer
      elease-src'.
      > Could not resolve all dependencies for configuration ':classpath'.
      > Could not resolve net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT.
      Required by:
      :forge-1.7.10_pre4-10.12.2.1149-prerelease-src:unspecified > net.minecr
      aftforge.gradle:ForgeGradle:1.2-SNAPSHOT
      > Could not HEAD 'http://files.minecraftforge.net/maven/net/minecraftforge
      /srg2source/Srg2Source/3.2-SNAPSHOT/Srg2Source-3.2-20150109.190932-47.pom'.
      > The target server failed to respond

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

      BUILD FAILED

      Total time: 1 mins 36.762 secs

      国内源报错:
      FAILURE: Build failed with an exception.

      * What went wrong:
      A problem occurred configuring root project 'forge-1.7.10_pre4-10.12.2.1149-prer
      elease-src'.
      > Could not resolve all dependencies for configuration ':classpath'.
      > Could not resolve net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT.
      Required by:
      :forge-1.7.10_pre4-10.12.2.1149-prerelease-src:unspecified > net.minecr
      aftforge.gradle:ForgeGradle:1.2-SNAPSHOT
      > Unable to load Maven meta-data from http://files.minecraftforge.net/mave
      n/net/minecraftforge/srg2source/Srg2Source/3.2-SNAPSHOT/maven-metadata.xml.
      > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftfor
      ge/srg2source/Srg2Source/3.2-SNAPSHOT/maven-metadata.xml'.
      > The target server failed to respond

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

      BUILD FAILED

      Total time: 1 mins 24.565 secs

      这是做的什么死啊...

      回复 ↓
    10. 八雲虹 2015/06/2417:00

      出错了........不识别fgow是什么鬼orz
      FAILURE: Build failed with an exception.

      * Where:
      Build file 'D:\forge\build.gradle' line: 19

      * What went wrong:
      A problem occurred evaluating root project 'forge'.
      > Plugin with id 'fgow' not found.

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

      BUILD FAILED

      Total time: 11 mins 20.163 secs

      d:\forge>gradlew.bat tasks

      回复 ↓
      1. 八雲虹 2015/06/2417:48

        好吧,刚才傻了,明明下的是1.0.3结果classpath files('fgow-1.0.0.jar')了。。。。

        回复 ↓

    评论导航

    较新评论 →

    发表评论 取消回复

    电子邮件地址不会被公开。 必填项已用*标注

    Bukkit is a bitch.