-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (40 loc) · 1.21 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
plugins {
id 'org.quiltmc.loom' version '1.4.+'
}
repositories {
maven { url 'https://maven.terraformersmc.com/releases/' }
}
dependencies {
minecraft "com.mojang:minecraft:${project.deps__minecraft}"
mappings "org.quiltmc:quilt-mappings:${project.deps__mappings}"
modImplementation "org.quiltmc:quilt-loader:${project.deps__loader}"
modImplementation "org.quiltmc.quilted-fabric-api:quilted-fabric-api:${project.deps__stdlib}"
modImplementation ("com.terraformersmc:modmenu:${project.deps__modmenu}") {
exclude(group: 'net.fabricmc')
}
}
loom {
accessWidenerPath = file "src/main/resources/blindme.accesswidener"
}
processResources {
filesMatching(['quilt.mod.json', 'fabric.mod.json']) {
expand (
'mod_version': project.version,
'minecraft_version': ">=${project.deps__minecraft}",
'qsl_version': ">=${project.deps__stdlib}"
)
}
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType(JavaCompile).configureEach {
it.options.encoding = 'UTF-8'
it.options.release = 17
}
jar {
from('LICENSE') {
rename {"${it}_${project.id}"}
}
}