Skip to content

Commit

Permalink
Load version from properties file
Browse files Browse the repository at this point in the history
  • Loading branch information
yanny7 committed Dec 18, 2019
1 parent e7c64a9 commit c8d473b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {
}
apply plugin: 'net.minecraftforge.gradle'

version = '1.0.1'
version = "${game_version}"
group = 'com.yanny.age.stone' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = 'stone-age'

Expand Down Expand Up @@ -126,7 +126,7 @@ jar {
attributes([
"Specification-Title": "Stone age",
"Specification-Vendor": "Yanny",
"Specification-Version": "1", // We are version 1 of ourselves
"Specification-Version": "${game_version}",
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Vendor" :"Yanny",
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
org.gradle.jvmargs=-Xmx3G
org.gradle.daemon=false

game_version=1.0.1
mc_version=1.14.4
forge_version=28.1.104
jei_version=6.0.0.26
Expand Down

0 comments on commit c8d473b

Please sign in to comment.