-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
89 lines (73 loc) · 2.06 KB
/
build.gradle
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
plugins {
id 'fabric-loom' version '1.3-SNAPSHOT'
id 'maven-publish'
}
group 'me.videogamesm12'
version '2.0-alpha.13'
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
filter {
includeGroup "maven.modrinth"
}
}
}
dependencies {
// Text components
implementation include("net.kyori:adventure-text-serializer-gson:4.13.1")
include("net.kyori:adventure-api:4.13.1")
include("net.kyori:adventure-key:4.13.1")
include("net.kyori:examination-api:1.3.0")
// CFX has since been moved to a separate project
include("maven.modrinth:cfx:YRSLKiNN")
subprojects.each {
include project("${it.name}:")
}
}
allprojects {
apply plugin: 'fabric-loom'
tasks.withType(JavaCompile).configureEach {
it.options.release.set(16)
}
repositories {
maven {
url "https://maven.shedaniel.me/"
}
maven {
url "https://maven.terraformersmc.com/releases/"
}
}
dependencies {
minecraft "com.mojang:minecraft:1.19.3"
mappings "net.fabricmc:yarn:1.19.3+build.5:v2"
modImplementation "net.fabricmc.fabric-api:fabric-api:0.75.1+1.19.3"
modImplementation "net.fabricmc:fabric-loader:0.14.17"
modImplementation "com.terraformersmc:modmenu:5.0.2"
implementation "net.kyori:adventure-api:4.13.1"
// Lombok
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
}
processResources {
inputs.property "version", rootProject.version
filteringCharset "UTF-8"
filesMatching("fabric.mod.json") {
expand "version": rootProject.version
}
}
}
subprojects {
group rootProject.group
version rootProject.version
dependencies {
implementation rootProject
}
}
subprojects.each {
remapJar.dependsOn("${it.path}:remapJar")
}