-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
38 lines (30 loc) · 742 Bytes
/
build.gradle
File metadata and controls
38 lines (30 loc) · 742 Bytes
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
plugins {
id "fabric-loom" version "0.10-SNAPSHOT"
}
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
group = "dev.tensor"
archivesBaseName = "tensor"
version = "1.0.0-SNAPSHOT"
dependencies {
minecraft "com.mojang:minecraft:1.17.1"
mappings "net.fabricmc:yarn:1.17.1+build.63:v2"
modImplementation "net.fabricmc:fabric-loader:0.12.9"
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
tasks.withType(JavaCompile).configureEach {
it.options.encoding = "UTF-8"
}
java {
withSourcesJar()
}
jar {
from("COPYING.md") {
rename { "META-INF/${it}" }
}
}