File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11plugins {
22 id ' fabric-loom' version ' 0.8-SNAPSHOT'
33 id ' maven-publish'
4- id ' org.ajoberstar.grgit' version ' 4.1.0'
5- }
6-
7- def getVersionMetadata () {
8- // CI builds version numbers
9- def build_id = System . getenv(" RELEASE_TAG" )
10- if (build_id != null ) {
11- return build_id
12- }
13-
14- // Development builds
15- if (grgit == null ) {
16- return " dev"
17- }
18-
19- // Named development builds
20- def id = grgit. head(). abbreviatedId
21- if (! grgit. status(). clean) {
22- id + = " -dirty"
23- }
24-
25- return " rev.${ id} "
264}
275
286/*
@@ -35,7 +13,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8
3513targetCompatibility = JavaVersion . VERSION_1_8
3614
3715archivesBaseName = " ${ project.mod_id} -${ project.minecraft_version} "
38- version = " ${ getVersionMetadata() } "
16+ version = project . mod_version
3917group = project. maven_group
4018
4119dependencies {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ minecraft_version=1.14.4
77yarn_mappings =1.14.4+build.18
88loader_version =0.13.3
99# Mod Properties
10- mod_version =1.0.0-alpha
10+ mod_version =1.0.0
1111maven_group =ca.spottedleaf.starlight
1212mod_id =starlight
1313# Dependencies
Original file line number Diff line number Diff line change 11{
22 "schemaVersion" : 1 ,
3- "id" : " ${archivesBaseName }" ,
3+ "id" : " ${mod_id }" ,
44 "version" : " ${version}" ,
55 "name" : " Starlight" ,
66 "description" : " Rewrites the light engine to fix lighting performance and lighting errors" ,
You can’t perform that action at this time.
0 commit comments