Skip to content

Commit

Permalink
Изменён формат версии
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAndrey committed Mar 4, 2023
1 parent 37f5649 commit 06ec92b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

tasks.withType(Jar).configureEach {
archiveVersion.set(project.minecraft.version + '-' + project.version)
}

jar {
manifest {
attributes 'FMLCorePluginContainsFMLMod': 'false' // TODO: Not a mod
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Project
group=me.theandrey
version=1.0
minecraft.version=1.7.10

# Repositories
minecraftforge.repository.url=https://files.minecraftforge.net/maven

0 comments on commit 06ec92b

Please sign in to comment.