-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
91 lines (70 loc) · 2.1 KB
/
build.gradle.kts
File metadata and controls
91 lines (70 loc) · 2.1 KB
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id("fabric-loom") version "0.10-SNAPSHOT"
}
group = "me.marty"
version = "1.0.0-SNAPSHOT"
repositories {
mavenLocal()
maven {
name = "Geckolib Repository"
url = uri("https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/")
}
maven {
name = "Devan-Kerman/Devan-Repo"
url = uri("https://storage.googleapis.com/devan-maven/")
}
maven {
name = "Ladysnake Mods"
url = uri("https://ladysnake.jfrog.io/artifactory/mods")
}
maven {
url = uri("https://repo.repsy.io/mvn/fadookie/particleman")
}
maven {
url = uri("https://maven.blamejared.com")
}
maven {
name = "CurseMaven"
url = uri("https://www.cursemaven.com/")
}
maven {
name = "Jitpack"
url = uri("https://jitpack.io")
}
}
dependencies {
minecraft("net.minecraft", "minecraft", "1.18.1")
mappings("net.fabricmc", "yarn", "1.18.1+build.2", classifier = "v2")
modImplementation("net.fabricmc", "fabric-loader", "0.12.11")
modImplementation("net.fabricmc.fabric-api", "fabric-api", "0.44.0+1.18")
implementation("org.joml", "joml", "1.10.2")
include("org.joml", "joml", "1.10.2")
include(modImplementation("net.devtech", "arrp", "0.4.4"))
include(modImplementation("io.github.onyxstudios.Cardinal-Components-API", "cardinal-components-base", "3.1.1"))
include(modImplementation("io.github.onyxstudios.Cardinal-Components-API", "cardinal-components-entity", "3.1.1"))
implementation("com.github.thecodewarrior", "BinarySMD", "-SNAPSHOT")
}
java {
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
}
loom {
accessWidenerPath.set(file("src/main/resources/pixelmon.aw"))
}
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.release.set(16)
}
tasks.withType<AbstractArchiveTask> {
from(file("LICENSE"))
}
tasks.processResources {
filesMatching("fabric.mod.json") {
expand("version" to project.version)
}
}
tasks.remapJar {
doLast {
input.get().asFile.delete()
}
}