• R/O
  • SSH

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

前提Mod: Minecraft1.7.10 IC2Exp


Commit MetaInfo

Revisión4d3ac85b69d1b4444300ad91e3068667ac641f62 (tree)
Tiempo2015-08-06 22:31:19
AutorMirrgieRiana
CommiterMirrgieRiana

Log Message

build.gradle: 自動的にソース中のバージョン番号を設定

Cambiar Resumen

Diferencia incremental

diff -r d9223281c024 -r 4d3ac85b69d1 MirageCrops6/build.gradle
--- a/MirageCrops6/build.gradle Thu Aug 06 21:40:45 2015 +0900
+++ b/MirageCrops6/build.gradle Thu Aug 06 22:31:19 2015 +0900
@@ -45,6 +45,8 @@
4545
4646 }
4747
48+tasks.sourceMainJava.replace('${version}', project.version);
49+
4850 processResources
4951 {
5052 // this will ensure that this task is redone when the versions change.
diff -r d9223281c024 -r 4d3ac85b69d1 MirageCrops6/src/main/java/miragecrops6/ModMirageCrops6.java
--- a/MirageCrops6/src/main/java/miragecrops6/ModMirageCrops6.java Thu Aug 06 21:40:45 2015 +0900
+++ b/MirageCrops6/src/main/java/miragecrops6/ModMirageCrops6.java Thu Aug 06 22:31:19 2015 +0900
@@ -21,7 +21,7 @@
2121
2222 public static final String MODID = "MirageCrops6";
2323 public static final String DOMAIN = MODID.toLowerCase();
24- public static final String VERSION = "1.0";
24+ public static final String VERSION = "${version}";
2525
2626 public static CreativeTabs creativeTab = new CreativeTabs("mirageCrops6") {
2727 @Override