File tree Expand file tree Collapse file tree 4 files changed +18
-20
lines changed Expand file tree Collapse file tree 4 files changed +18
-20
lines changed Original file line number Diff line number Diff line change 6
6
build :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - name : Cache
10
- uses : actions/cache@v2
11
- with :
12
- path : |
13
- ~/.gradle/loom-cache
14
- ~/.gradle/caches
15
- key : gradle-${{hashFiles('**/*.gradle*')}}
16
- restore-keys : gradle-
17
9
- name : Checkout
18
- uses : actions/checkout@v2
10
+ uses : actions/checkout@v4
19
11
- name : Set up Java
20
- uses : actions/setup-java@v1
12
+ uses : actions/setup-java@v4
21
13
with :
14
+ cache : gradle
15
+ distribution : microsoft
22
16
java-version : 17
23
17
- name : Build with Gradle
24
18
run : gradle build
25
19
- name : Upload Artifacts
26
- uses : actions/upload-artifact@v2
20
+ uses : actions/upload-artifact@v4
27
21
with :
28
22
name : artifacts
29
23
path : build/libs
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id " fabric-loom" version " 1.7.2 "
2
+ id " fabric-loom" version " 1.8.12 "
3
3
id " maven-publish"
4
4
}
5
5
6
- sourceCompatibility = JavaVersion . VERSION_17
7
- targetCompatibility = JavaVersion . VERSION_17
8
-
9
6
archivesBaseName = project. archives_base_name
10
7
version = project. mod_version
11
8
group = project. maven_group
@@ -42,7 +39,13 @@ processResources {
42
39
}
43
40
}
44
41
42
+ java {
43
+ sourceCompatibility = JavaVersion . VERSION_17
44
+ targetCompatibility = JavaVersion . VERSION_17
45
+ }
46
+
45
47
tasks. withType(JavaCompile ) {
48
+ options. release = 17
46
49
options. encoding = " UTF-8"
47
50
}
48
51
Original file line number Diff line number Diff line change @@ -5,9 +5,9 @@ mod_version = 1.0.0
5
5
org.gradle.jvmargs = -Xmx1G
6
6
7
7
# Versions
8
- minecraft_version = 1.20.1
9
- yarn_mappings = 1.20.1 +build.10
10
- loader_version = 0.15.11
11
- fabric_version = 0.92 .2+1.20.1
8
+ minecraft_version = 1.20.4
9
+ yarn_mappings = 1.20.4 +build.3
10
+ loader_version = 0.16.9
11
+ fabric_version = 0.97 .2+1.20.4
12
12
13
- plasmid_version = 0.5.102-SNAPSHOT+1.20.1
13
+ plasmid_version = 0.5.102-SNAPSHOT+1.20.4
Original file line number Diff line number Diff line change 20
20
"icon" : " assets/anvildrop/icon.png" ,
21
21
"depends" : {
22
22
"fabricloader" : " >=0.4.0" ,
23
+ "java" : " >=17" ,
23
24
"plasmid" : " >=0.5.0"
24
25
}
25
26
}
You can’t perform that action at this time.
0 commit comments