Skip to content

Commit

Permalink
Add minotaur to build gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer committed Oct 27, 2023
1 parent d12d02f commit 46ccc9b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'fabric-loom' version '1.4-SNAPSHOT'
id 'maven-publish'
id 'com.modrinth.minotaur' version '2.+'
}

version = project.mod_version
Expand Down Expand Up @@ -113,6 +114,21 @@ jar {
}
}

modrinth {
if (System.getenv('MODRINTH_TOKEN') == null && project.hasProperty('modrinthKey')) {
token = project.modrinthKey
}
projectId = 'viavanillaplus'
uploadFile = remapJar
gameVersions = [project.minecraft_version]
loaders = ['fabric', 'quilt']
dependencies {
optional.project 'viafabricplus'
optional.project 'viafabric'
optional.project 'carpet'
}
}

// configure the maven publication
publishing {
publications {
Expand Down

0 comments on commit 46ccc9b

Please sign in to comment.