Skip to content

Commit

Permalink
new minotaur syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Jun 17, 2022
1 parent 49e46dd commit 941b451
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
10 changes: 4 additions & 6 deletions Fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ if (ENV.CURSEFORGE_TOKEN) curseforge {
}
}

import com.modrinth.minotaur.dependencies.ModDependency

if (ENV.MODRINTH_TOKEN) modrinth {
projectId = modrinth_project_id

Expand All @@ -104,10 +102,10 @@ if (ENV.MODRINTH_TOKEN) modrinth {
gameVersions = [minecraft_version]
loaders = ["fabric"]

dependencies = [
new ModDependency("P7dR8mSH", "required"),
new ModDependency("Ha28R6CL", "required"),
]
dependencies {
required.project "P7dR8mSH"
required.project "Ha28R6CL"
}
}

rootProject.tasks.curseforge.dependsOn tasks.curseforge
9 changes: 4 additions & 5 deletions Forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ processResources {
}



import java.util.stream.Collectors

jar {
Expand Down Expand Up @@ -181,8 +182,6 @@ if (ENV.CURSEFORGE_TOKEN) curseforge {
}
}

import com.modrinth.minotaur.dependencies.ModDependency

if (ENV.MODRINTH_TOKEN) modrinth {
projectId = modrinth_project_id

Expand All @@ -194,9 +193,9 @@ if (ENV.MODRINTH_TOKEN) modrinth {
gameVersions = [minecraft_version]
loaders = ["forge"]

dependencies = [
new ModDependency("ordsPcFz", "required"),
]
dependencies {
required.project "ordsPcFz"
}
}

rootProject.tasks.curseforge.dependsOn tasks.curseforge

0 comments on commit 941b451

Please sign in to comment.