File tree Expand file tree Collapse file tree
src/main/resources/assets/gokistats/lang Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747out /
4848* .iml
4949* .ipr
50- * .iws
50+ * .iws
51+ gradle.properties
Original file line number Diff line number Diff line change @@ -9,13 +9,21 @@ buildscript {
99 name = " sonatype"
1010 url = " https://oss.sonatype.org/content/repositories/snapshots/"
1111 }
12+ maven {
13+ name = " gradle"
14+ url = " https://plugins.gradle.org/m2/"
15+ }
1216 }
1317 dependencies {
1418 classpath ' net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
19+ classpath ' co.riiid:gradle-github-plugin:0.4.2'
20+ classpath ' gradle.plugin.com.matthewprenger:CurseGradle:1.0.11'
1521 }
1622}
1723
18- apply plugin : ' net.minecraftforge.gradle.forge'
24+ apply plugin : " net.minecraftforge.gradle.forge"
25+ apply plugin : ' co.riiid.gradle'
26+ apply plugin : " com.matthewprenger.cursegradle"
1927
2028sourceCompatibility = targetCompatibility = " 1.8" // Need this here so eclipse task generates correctly.
2129compileJava {
@@ -54,6 +62,26 @@ dependencies {
5462
5563}
5664
65+ github {
66+ owner = ' InfinityStudio'
67+ repo = ' GokiStats'
68+ token = githubToken
69+ tagName = version
70+ targetCommitish = ' master'
71+ name = ' gokiStats ' + version
72+ assets = [
73+ ' build/libs'
74+ ]
75+ }
76+
77+ curseforge {
78+ apiKey = curseForgeApiKey // This should really be in a gradle.properties file
79+ project {
80+ id = ' 298141'
81+ releaseType = ' beta'
82+ }
83+ }
84+
5785processResources
5886{
5987 // this will ensure that this task is redone when the versions change.
Original file line number Diff line number Diff line change 11# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
22# This is required to provide enough memory for the Minecraft decompilation process.
3- org.gradle.jvmargs =-Xmx3G
3+ org.gradle.jvmargs =-Xmx3G
4+
5+ githubToken =1b0dec1363c9abfe33d546bf863acc4577e387b8
6+ curseForgeApiKey =70d5f082-c903-4ee6-a4b1-cbb73f4f6881
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ grpg_Treasure_Finder.des1=Chance to find more rare additional items when harvest
4444grpg_Furnace_Finesse.des=Smelt %1$f ticks faster %2$f%% of the time while using a furnace.
4545grpg_Steady_Guard.des=%f%% less knockback when blocking.
4646grpg_Stealth.des=Move %1$f%% faster and reap %2$f%%more often (%3$f%%) when sneaking.;
47- grpg_Mining_Magician.des=
47+ grpg_Mining_Magician.des=Chance to find additional materials when harvesting ores.
4848grpg_Roll.des=%f%% chance to avoid damage and counterattack enemy.
4949
5050grpg_Roll.message=*Avoided*
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ grpg_Treasure_Finder.des1=增加开采时获得额外掉落稀有品的概率
4545grpg_Furnace_Finesse.des=增加熔炼速度%1$f刻,节约%2$f%%的时间;
4646grpg_Steady_Guard.des=减缓%f%%的击退
4747grpg_Stealth.des=增加潜行时%1$f%%的移动速度和%2$f%%的开采速度(%3$f%%);
48- grpg_Mining_Magician.des=挖掘魔术
48+ grpg_Mining_Magician.des=增加开采矿物时获得额外材料的概率
4949grpg_Health.des=增加玩家%f的生命值
5050grpg_Roll.des=有%f%%的几率闪避伤害并反击敌人
5151
You can’t perform that action at this time.
0 commit comments