瀏覽代碼

Make Travis Work again and stick to 3.1.0-beta2 as engine version instead of a master Snapshot.

MeFisto94 9 年之前
父節點
當前提交
b73d0a99a2
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 2
      build.gradle
  2. 1 0
      build_engine.sh

+ 2 - 2
build.gradle

@@ -29,10 +29,10 @@ if (System.getenv('TRAVIS') != null) {
     if (ext.jmeGitTag != "") {
         ext.jmeEngineVersion = "3.1.0-" + ext.jmeGitTag + "-SNAPSHOT"
     } else {
-        ext.jmeEngineVersion = "3.1.0-master-SNAPSHOT"
+        ext.jmeEngineVersion = "3.1.0-beta2" # Use Beta 2 instead of 3.1.0-master-SNAPSHOT
     }
 } else {
-    ext.jmeEngineVersion = "3.1.0-SNAPSHOT"
+    ext.jmeEngineVersion = "3.1.0-SNAPSHOT" # Might also need a change to 3.1.0-beta2, if you get "could not find dependency" errors.
 }
 
 configurations {

+ 1 - 0
build_engine.sh

@@ -3,6 +3,7 @@
 # Also if you want to revert to releases and bintray builds, you need to uninstall them from your local maven repo...
 echo "Downloading the Engine, this may take some time"
 git clone -b v3.1 --single-branch --depth 1 http://github.com/jMonkeyEngine/jMonkeyEngine/ engine # single-branch requires git > 1.7.10, if you see an error, just leave it out.
+git checkout tags/v3.1.0-beta2
 
 cd engine
 #echo "Patching the Engine...."