Skip to content

Commit

Permalink
version -> mod_version
Browse files Browse the repository at this point in the history
  • Loading branch information
xpple committed Aug 5, 2024
1 parent 6d04c4f commit 7e3952e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

base {
archivesName = project.archives_base_name
version = project.version
version = project.mod_version
group = project.maven_group
}

Expand Down
4 changes: 2 additions & 2 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

base {
archivesName = "${project.archives_base_name}-fabric"
version = project.version
version = project.mod_version
group = project.maven_group
}

Expand Down Expand Up @@ -81,7 +81,7 @@ dependencies {
}

processResources {
def props = [version: project.version, minecraft_version: project.minecraft_version, fabric_loader_version: project.fabric_loader_version]
def props = [version: project.mod_version, minecraft_version: project.minecraft_version, fabric_loader_version: project.fabric_loader_version]
inputs.properties props
filesMatching("fabric.mod.json") {
expand props
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G
org.gradle.parallel=true

# BetterConfig Properties
version=1.3
mod_version=1.3
maven_group=dev.xpple
archives_base_name=betterconfig

Expand Down
4 changes: 2 additions & 2 deletions paper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
base {
archivesName = "${project.archives_base_name}-paper"
group = project.maven_group
version = project.version
version = project.mod_version
}

sourceSets {
Expand Down Expand Up @@ -38,7 +38,7 @@ dependencies {
}

processResources {
def props = [version: project.version, plugin_yml_paper_api_version: project.plugin_yml_paper_api_version]
def props = [version: project.mod_version, plugin_yml_paper_api_version: project.plugin_yml_paper_api_version]
inputs.properties props
filteringCharset 'UTF-8'
filesMatching('plugin.yml') {
Expand Down

0 comments on commit 7e3952e

Please sign in to comment.