@@ -34,19 +34,15 @@ javadoc {
3434
3535description = ' OreSpawn'
3636def mod_file = getModFile()
37- def mc_version = ' 1.11.2'
38-
39- ext {
40- short_version = getVersion(' VERSION' , mod_file)
41- }
42-
43- version = mc_version + ' -' + short_version
37+ def mc_version = " 1.11.2"
38+ def short_version = getVersion(" VERSION" , mod_file)
39+ version = mc_version + " -" + short_version
4440if (System . getenv(). BUILD_NUMBER ) {
4541 version + = ' .' + System . getenv(). BUILD_NUMBER
4642}
47- group = ' com.mcmoddev'
48- archivesBaseName = ' OreSpawn'
49- sourceCompatibility = targetCompatibility = ' 1.8'
43+ group = " com.mcmoddev"
44+ archivesBaseName = " OreSpawn"
45+ sourceCompatibility = targetCompatibility = " 1.8"
5046
5147class Secrets {
5248 def data = null
@@ -73,12 +69,10 @@ if (secretFile.exists()) {
7369}
7470
7571minecraft {
76- version = ' 1.11.2-13.20.0.2228'
77- runDir = ' run'
78- mappings = ' stable_32'
79- // coreMod = corePlugin
80- // clientJvmArgs = ["-Dfml.coreMods.load=$corePlugin"]
81- // serverJvmArgs = ["-Dfml.coreMods.load=$corePlugin"]
72+ version = " 1.11.2-13.20.0.2228"
73+ runDir = " run"
74+ mappings = " stable_32"
75+ // coreMod = ""
8276 makeObfSourceJar = false
8377}
8478
@@ -236,12 +230,12 @@ publishing {
236230curseforge {
237231 apiKey = secret. curseforgeAPIKey
238232 project {
239- id = ' 245586'
240- changelog = file(' CHANGELOG.txt' )
241- releaseType = ' release '
242- addGameVersion(project . mc_version )
243- def projName = ' OreSpawn'
244- def displayVersion = getVersion(' VERSION' , mod_file)
233+ id = " 245586"
234+ changelog = file(" CHANGELOG.txt" )
235+ releaseType = " alpha "
236+ addGameVersion(" 1.11 " )
237+ def projName = " OreSpawn"
238+ def displayVersion = getVersion(" VERSION" , mod_file)
245239 if (System . getenv(). BUILD_NUMBER ) {
246240 displayVersion + = ' .' + System . getenv(). BUILD_NUMBER
247241 }
0 commit comments