Skip to content

Commit 10a3920

Browse files
committed
[ci skip] remove minotaur
1 parent ca7f9b4 commit 10a3920

File tree

3 files changed

+1
-42
lines changed

3 files changed

+1
-42
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
# Automatically build the project and run any configured tests for every push
2-
# and submitted pull request. This can help catch issues that only occur on
3-
# certain platforms or Java versions, and provides a first line of defence
4-
# against bad commits.
5-
61
name: build
2+
73
on: [
84
pull_request,
95
push

build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
id 'fabric-loom' version '1.3.8' apply false
33
id 'maven-publish'
4-
id "com.modrinth.minotaur" version "2.+" apply false
54
id 'com.replaymod.preprocess' version '20c7ec554a'
65
}
76

common.gradle

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
apply plugin: 'fabric-loom'
33
apply plugin: 'maven-publish'
44
apply plugin: 'com.replaymod.preprocess'
5-
apply plugin: 'com.modrinth.minotaur'
65

76

87
archivesBaseName = project.archives_base_name // in central gradle.properties
@@ -109,38 +108,3 @@ jar {
109108
rename { "${it}_${archivesBaseName}" }
110109
}
111110
}
112-
113-
// Publish to modrinth
114-
modrinth {
115-
// Token
116-
token = System.getenv("MODRINTH_TOKEN")
117-
118-
// Project ID
119-
projectId = "opt-carpet-addition"
120-
121-
// Version
122-
if (project.mod_version.contains("alpha")) {
123-
versionType = "alpha"
124-
} else if (project.mod_version.contains("beta")) {
125-
versionType = "beta"
126-
} else {
127-
versionType = "release"
128-
}
129-
gameVersions = ["1.17", "1.17.1"] // Must be an array, even with only one version
130-
versionNumber = project.mod_version
131-
versionName = "v" + project.mod_version + " For Minecraft 1.17"
132-
133-
// Upload
134-
uploadFile = remapJar
135-
136-
// Loader
137-
loaders = ["fabric"] // Must also be an array - no need to specify this if you're using Loom or ForgeGradle
138-
139-
// Dependencies
140-
dependencies {
141-
required.project "fabric-api"
142-
}
143-
144-
// ChangeLogs
145-
changelog = "Got full change logs in [GitHub](https://github.com/OptiJava/OptCarpetAddition/releases)."
146-
}

0 commit comments

Comments
 (0)