-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
64 lines (57 loc) · 1.92 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
import com.github.minecraftschurlimods.helperplugin.version
plugins {
idea
id("net.neoforged.gradle.userdev")
id ("com.github.minecraftschurlimods.helperplugin")
}
helper.withTestSourceSet()
repositories {
maven {
name = "blamejared Maven"
url = uri("https://maven.blamejared.com")
}
maven {
name = "ModMaven"
url = uri("https://modmaven.k-4u.nl")
}
}
val jei = helper.dependencies.jei()
dependencies {
implementation(helper.neoforge())
val jeiApiDep = helper.minecraftVersion.zip(jei.version) { mc, version -> "mezz.jei:jei-${mc}-common-api:${version}" }
val jeiDep = helper.minecraftVersion.zip(jei.version) { mc, version -> "mezz.jei:jei-${mc}-neoforge:${version}" }
compileOnly(jeiApiDep)
runtimeOnly(jeiDep)
implementation("org.jetbrains:annotations:23.0.0")
"testCompileOnly"("org.jetbrains:annotations:23.0.0")
}
helper.withCommonRuns()
helper.withGameTestRuns()
helper.modproperties.put(
"catalogueItemIcon", helper.projectId.map { "$it:potion_bundle[minecraft:potion_contents=\"minecraft:water\"]" }
)
helper.publication.pom {
organization {
name = "Minecraftschurli Mods"
url = "https://github.com/MinecraftschurliMods"
}
developers {
developer {
id = "minecraftschurli"
name = "Minecraftschurli"
email = "minecraftschurli@gmail.com"
url = "https://github.com/Minecraftschurli"
organization = "Minecraftschurli Mods"
organizationUrl = "https://github.com/MinecraftschurliMods"
timezone = "Europe/Vienna"
}
developer {
id = "ichhabehunger54"
name = "IchHabeHunger54"
url = "https://github.com/IchHabeHunger54"
organization = "Minecraftschurli Mods"
organizationUrl = "https://github.com/MinecraftschurliMods"
timezone = "Europe/Vienna"
}
}
}