Skip to content
This repository was archived by the owner on Feb 28, 2021. It is now read-only.

Commit 5a368d3

Browse files
committed
Remove -SNAPSHOT versions
1 parent 789fa4a commit 5a368d3

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

build.gradle

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sourceCompatibility = JavaVersion.VERSION_1_8
88
targetCompatibility = JavaVersion.VERSION_1_8
99

1010
archivesBaseName = 'cotton-client-commands'
11-
version = "$project.mod_version+$project.minecraft_version" + (project.snapshot ? '-SNAPSHOT' : '')
11+
version = "$project.mod_version+$project.minecraft_version"
1212
group = project.maven_group
1313

1414
minecraft {
@@ -95,11 +95,7 @@ artifactory {
9595
contextUrl = 'http://server.bbkr.space:8081/artifactory/'
9696
publish {
9797
repository {
98-
if (version.contains("SNAPSHOT")) {
99-
repoKey = "libs-snapshot"
100-
} else {
101-
repoKey = "libs-release"
102-
}
98+
repoKey = "libs-release"
10399
username = artifactoryUsername
104100
password = artifactoryPassword
105101
}

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
maven_group = io.github.cottonmc
22
mod_version = 1.0.0
3-
snapshot = false
43

54
minecraft_version = 1.15.2
65
yarn_mappings = 1.15.2+build.14

0 commit comments

Comments
 (0)