Update Build Script for Manual Versioning

This commit is contained in:
Kam committed 2024-03-19 15:30:15 -04:00
1 parent 10dc5de88a
commit 30dbc4ad7a
3 files changed
+13 -1634

No files matched your search

+4 -1622
View File
File diff suppressed because it is too large. Load diff
+7 -4
View File
@@ -2,12 +2,15 @@ modName = CustomNPC-Plus-Gecko-Addon
# This is a case-sensitive string to identify your mod. Convention is to use lower case.
modId = npcgecko
modGroup = com.goodbird.npcgecko
modVersion = 1.0
# WHY is there no version field?
# The build script relies on git to provide a version via tags. It is super easy and will enable you to always know the
# code base or your binary. Check out this tutorial: https://blog.mattclemente.com/2017/10/13/versioning-with-git-tags/
gtnh.modules.codeStyle=true
gtnh.modules.gitVersion=false
# Whether to use modGroup as the maven publishing group.
# Due to a history of using JitPack, the default is com.github.GTNewHorizons for all mods.
useModGroupForPublishing = false
# Will update your build.gradle automatically whenever an update is available
autoUpdateBuildScript = false
+2 -8
View File
@@ -6,6 +6,7 @@ pluginManagement {
name "GTNH Maven"
url "https://nexus.gtnewhorizons.com/repository/public/"
mavenContent {
includeGroup("com.gtnewhorizons")
includeGroupByRegex("com\\.gtnewhorizons\\..+")
}
}
@@ -16,12 +17,5 @@ pluginManagement {
}
plugins {
id 'com.diffplug.blowdryerSetup' version '1.7.1'
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' // Provides java toolchains
}
blowdryerSetup {
repoSubfolder 'gtnhShared'
github('GTNewHorizons/ExampleMod1.7.10', 'tag', '0.2.2')
//devLocal '.' // Use this when testing config updates locally
id 'com.gtnewhorizons.gtnhsettingsconvention' version '1.0.14'
}