-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
50 lines (39 loc) · 878 Bytes
/
build.gradle
File metadata and controls
50 lines (39 loc) · 878 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
39
40
41
42
43
44
45
46
47
48
49
50
plugins {
id 'net.fabricmc.fabric-loom' version '1.15.5'
id 'maven-publish'
}
version = "1.1.8"
group = "com.bedwarsantilag"
base {
archivesName = "bedwarsantilag"
}
repositories {
mavenCentral()
}
dependencies {
minecraft "com.mojang:minecraft:26.1.2"
implementation "net.fabricmc:fabric-loader:0.18.4"
implementation "net.fabricmc.fabric-api:fabric-api:0.149.0+26.1.2"
implementation "net.fabricmc:sponge-mixin:0.15.3+mixin.0.8.7"
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 25
}
java {
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_25
targetCompatibility = JavaVersion.VERSION_25
}
loom {
}
jar {
from("LICENSE") {
rename { "${it}_${project.base.archivesName.get()}"}
}
}