-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.gradle.kts
77 lines (61 loc) · 2.04 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import toni.blahaj.*
import toni.blahaj.api.*
val templateSettings = object : BlahajSettings {
// -------------------- Dependencies ---------------------- //
override val depsHandler: BlahajDependencyHandler get() = object : BlahajDependencyHandler {
override fun addGlobal(mod : ModData, deps: DependencyHandler) {
}
override fun addFabric(mod : ModData, deps: DependencyHandler) {
}
override fun addForge(mod : ModData, deps: DependencyHandler) {
}
override fun addNeo(mod : ModData, deps: DependencyHandler) {
}
}
// ---------- Curseforge/Modrinth Configuration ----------- //
// For configuring the dependecies that will show up on your mod page.
override val publishHandler: BlahajPublishDependencyHandler get() = object : BlahajPublishDependencyHandler {
override fun addShared(mod : ModData, deps: DependencyContainer) {
if (mod.isFabric) {
deps.requires("fabric-api")
}
}
override fun addCurseForge(mod : ModData, deps: DependencyContainer) {
}
override fun addModrinth(mod : ModData, deps: DependencyContainer) {
}
}
}
plugins {
`maven-publish`
application
id("toni.blahaj") version "1.0.9"
kotlin("jvm")
kotlin("plugin.serialization")
id("dev.kikugie.j52j") version "1.0"
id("dev.architectury.loom")
id("me.modmuss50.mod-publish-plugin")
id("systems.manifold.manifold-gradle-plugin")
}
blahaj {
sc = stonecutter
settings = templateSettings
init()
}
// Dependencies
repositories {
maven("https://www.cursemaven.com")
maven("https://api.modrinth.com/maven")
maven("https://thedarkcolour.github.io/KotlinForForge/")
maven("https://maven.kikugie.dev/releases")
maven("https://maven.txni.dev/releases")
maven("https://jitpack.io")
maven("https://maven.neoforged.net/releases/")
maven("https://maven.terraformersmc.com/releases/")
maven("https://raw.githubusercontent.com/Fuzss/modresources/main/maven/")
maven("https://maven.parchmentmc.org")
maven("https://maven.su5ed.dev/releases")
maven("https://maven.su5ed.dev/releases")
maven("https://maven.fabricmc.net")
maven("https://maven.shedaniel.me/")
}