Skip to content

Commit 06ec92b

Browse files
committed
Изменён формат версии
1 parent 37f5649 commit 06ec92b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ tasks.withType(JavaCompile).configureEach {
4242
options.encoding = 'UTF-8'
4343
}
4444

45+
tasks.withType(Jar).configureEach {
46+
archiveVersion.set(project.minecraft.version + '-' + project.version)
47+
}
48+
4549
jar {
4650
manifest {
4751
attributes 'FMLCorePluginContainsFMLMod': 'false' // TODO: Not a mod

gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Project
22
group=me.theandrey
33
version=1.0
4+
minecraft.version=1.7.10
45

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

0 commit comments

Comments
 (0)