File tree Expand file tree Collapse file tree 3 files changed +48
-10
lines changed Expand file tree Collapse file tree 3 files changed +48
-10
lines changed Original file line number Diff line number Diff line change
1
+ name : Java CI with Gradle
2
+
3
+ on : [push, pull_request, workflow_dispatch]
4
+
5
+ permissions :
6
+ contents : read
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v3
13
+ - name : Set up JDK 8
14
+ uses : actions/setup-java@v3
15
+ with :
16
+ java-version : ' 8'
17
+ distribution : ' temurin'
18
+ - name : Validate Gradle wrapper
19
+ uses : gradle/wrapper-validation-action@v1
20
+ - uses : actions/cache@v2
21
+ with :
22
+ path : |
23
+ ~/.gradle/caches
24
+ ~/.gradle/wrapper
25
+ key : ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
26
+ restore-keys : ${{ runner.os }}-gradle-
27
+ - name : Build with Gradle
28
+ run : ./gradlew build
29
+ env :
30
+ GPR_USER : ${{ secrets.GPR_USER }}
31
+ GPR_KEY : ${{ secrets.GPR_KEY }}
32
+ - name : Archive artifacts
33
+ uses : actions/upload-artifact@v3
34
+ with :
35
+ name : BuildCraft Compat
36
+ path : build/libs/*.jar
Original file line number Diff line number Diff line change @@ -17,11 +17,15 @@ buildscript {
17
17
}
18
18
}
19
19
dependencies {
20
- classpath ' net.minecraftforge.gradle :ForgeGradle:1.2-SNAPSHOT '
20
+ classpath ' com.github.GTNewHorizons :ForgeGradle:1.2.11 '
21
21
}
22
22
}
23
23
24
24
repositories {
25
+ maven {
26
+ name ' Overmind Forge repo mirror'
27
+ url ' https://gregtech.overminddl1.com/'
28
+ }
25
29
maven {
26
30
name = " ChickenBones Maven"
27
31
url = " http://chickenbones.net/maven/"
@@ -30,21 +34,19 @@ repositories {
30
34
name = " tterrag Maven"
31
35
url = " http://maven.tterrag.com"
32
36
}
33
- maven {
34
- name = " Forestry/IC2 Maven"
35
- url = " http://maven.ic2.player.to"
36
- }
37
- maven {
38
- name = " ProfMobius Maven"
39
- url = " http://mobiusstrip.eu/maven"
40
- }
41
37
ivy {
42
38
name " BuildCraft"
43
39
artifactPattern " http://www.mod-buildcraft.com/releases/BuildCraft/[revision]/[module]-[revision]-[classifier].[ext]"
40
+ metadataSources {
41
+ artifact()
42
+ }
44
43
}
45
44
ivy {
46
45
name ' asie dependency mirror'
47
46
artifactPattern " http://asie.pl/javadeps/[module]-[revision](-[classifier]).[ext]"
47
+ metadataSources {
48
+ artifact()
49
+ }
48
50
}
49
51
}
50
52
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-3.5 .1-bin.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-6.9 .1-bin.zip
You can’t perform that action at this time.
0 commit comments