Use a project dependency instead of a specific version when publishing to modrinth

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
Username404 2023-04-28 17:20:21 +02:00
parent 840e041817
commit f8ae9f1ad1
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ subprojects {
projectId.set("OuGyGg6A") projectId.set("OuGyGg6A")
syncBodyFrom.set("$rootDir/README.md") syncBodyFrom.set("$rootDir/README.md")
gameVersions.add(minecraftVersion) gameVersions.add(minecraftVersion)
if (project.name == "forge") dependencies.add(com.modrinth.minotaur.dependencies.VersionDependency("Bxm9xbNJ", DependencyType.REQUIRED)) // Kotlinforforge dependency if (project.name == "forge") dependencies.add(com.modrinth.minotaur.dependencies.ModDependency("ordsPcFz", DependencyType.REQUIRED)) // Kotlinforforge dependency
versionNumber.set(rootProject.version.toString() + "-${project.name}") versionNumber.set(rootProject.version.toString() + "-${project.name}")
versionType.set(VersionType.ALPHA.name) versionType.set(VersionType.ALPHA.name)
detectLoaders.set(false) detectLoaders.set(false)