Moves version string out of plugin.yml.
This commit is contained in:
		| @@ -3,7 +3,7 @@ plugins { | ||||
| } | ||||
|  | ||||
| group = 'com.majinnaibu.minecraft.plugins.' | ||||
| version = '0.2-SNAPSHOT' | ||||
| version = '0.2.0-SNAPSHOT' | ||||
|  | ||||
| description = "ScoreKeeper" | ||||
|  | ||||
| @@ -26,3 +26,9 @@ tasks.withType(JavaCompile).configureEach { | ||||
| 	options.encoding = 'UTF-8' | ||||
|     // options.compilerArgs << "-Xlint:deprecation" | ||||
| } | ||||
|  | ||||
| processResources { | ||||
|     filesMatching('plugin.yml') { | ||||
|         expand(project.properties) | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| name: ScoreKeeper | ||||
| main: com.majinnaibu.minecraft.plugins.scorekeeper.ScoreKeeperPlugin | ||||
| version: 0.1.0 | ||||
| version: ${version} | ||||
| api-version: 1.21 | ||||
| commands: | ||||
|     score-get: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Tom Hicks
					Tom Hicks