-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathbuild.gradle
More file actions
78 lines (63 loc) · 1.87 KB
/
Copy pathbuild.gradle
File metadata and controls
78 lines (63 loc) · 1.87 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
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'io.github.ladysnake.chenille' version "0.11.3"
}
group project.maven_group
version project.mod_version
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
compileJava {
options.encoding = "UTF-8"
}
repositories {
mavenCentral()
chenille.repositories {
ladysnake()
jamieswhiteshirt()
}
maven {
name = 'Quilt Snapshots'
url = 'https://maven.quiltmc.org/repository/snapshot'
}
maven {
url = "https://maven.quiltmc.org/repository/release/"
}
mavenLocal()
flatDir {
dir 'libs'
}
}
dependencies {
minecraft "com.mojang:minecraft:${minecraft_version}"
mappings "org.quiltmc:quilt-mappings:${minecraft_version}+build.${quilt_mappings}:intermediary-v2"
modImplementation "net.fabricmc:fabric-loader:0.15.6"
modImplementation "net.fabricmc.fabric-api:fabric-api:0.92.1+1.20.1"
modImplementation "libs:PlayerEngine:+"
implementation 'com.google.code.findbugs:jsr305:3.0.2'
modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${cca_version}") {
transitive = false
}
modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${cca_version}") {
transitive = false
}
modImplementation("dev.onyxstudios.cardinal-components-api:cardinal-components-world:${cca_version}") {
transitive = false
}
}
java {
withSourcesJar()
}
jar {
from sourceSets.main.output
preserveFileTimestamps = false
reproducibleFileOrder = true
manifest {
attributes(
'Implementation-Title': 'Player2NPC',
'Implementation-Version': project.version
)
}
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
options.compilerArgs += ["-Xmaxerrs", "500000"]
}