File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ import com.modrinth.minotaur.TaskModrinthSyncBody
2
+ import com.modrinth.minotaur.TaskModrinthUpload
3
+ import com.modrinth.minotaur.dependencies.DependencyType
4
+ import com.modrinth.minotaur.dependencies.ModDependency
5
+
6
+ plugins {
7
+ id(" fabric-loom" )
8
+ id(" com.modrinth.minotaur" )
9
+ }
10
+
11
+ modrinth {
12
+ token.set(findProperty(" modrinth.token" ).toString())
13
+
14
+ projectId.set(" xmi76FJb" )
15
+ versionNumber.set(rootProject.version.toString())
16
+ versionType.set(" release" )
17
+ gameVersions.set(listOf (" 1.19" ))
18
+ loaders.set(listOf (" fabric" ))
19
+
20
+ uploadFile.set(tasks.remapJar.get())
21
+
22
+ dependencies.set(
23
+ listOf (
24
+ ModDependency (" silk" , DependencyType .REQUIRED ),
25
+ ModDependency (" fabric-language-kotlin" , DependencyType .REQUIRED ),
26
+ )
27
+ )
28
+
29
+ syncBodyFrom.set(provider {
30
+ println (" reading readme.md" )
31
+ rootProject.file(" readme.md" ).readText()
32
+ })
33
+ }
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ description = "Silk Compose brings Kotlin compose-jb to Minecraft"
3
3
plugins {
4
4
`mod- build- script`
5
5
`project- publish- script`
6
+ `mod- upload- script`
6
7
id(" com.google.devtools.ksp" )
7
8
id(" org.jetbrains.compose" )
8
9
}
You can’t perform that action at this time.
0 commit comments