-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Full support the installation of forge-1.16.5-36.1.66+ and partial su…
…pport forge-1.17.1
- Loading branch information
1 parent
3aeeada
commit 5fb3f01
Showing
23 changed files
with
458 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -19,7 +19,9 @@ jobs: | |
- name: Build with Gradle | ||
env: | ||
IS_PUBLICATION: true | ||
run: ./gradlew.bat publish -iS | ||
run: | | ||
chmod +x ./gradlew | ||
./gradlew publish -iS | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: Package | ||
|
@@ -49,6 +51,7 @@ jobs: | |
with: | ||
asset_paths: '["./build/libs/*"]' | ||
- name: Upload to Maven | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: ./.github/workflows/maven.bat | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: maven | ||
folder: build/maven |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ bin | |
*.iml | ||
*.ipr | ||
*.iws | ||
out | ||
out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
|
||
plugins { | ||
id "java" | ||
id "eclipse" | ||
} | ||
|
||
version = "${rootProject.fw_version}${-> getVersionSuffix()}" | ||
group = "io.github.zekerzhayard" | ||
archivesBaseName = rootProject.name + "Converter" | ||
|
||
configurations { | ||
provided { | ||
compileOnly.extendsFrom provided | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
dependencies { | ||
compileOnly "com.google.code.gson:gson:2.8.5" | ||
provided rootProject | ||
} | ||
|
||
jar { | ||
manifest.attributes rootProject.jar.manifest.attributes | ||
manifest.attributes([ | ||
"Main-Class": "io.github.zekerzhayard.forgewrapper.converter.Main" | ||
]) | ||
|
||
from configurations.provided.files.collect { | ||
zipTree(it) | ||
} | ||
} | ||
|
||
processResources { | ||
inputs.property "version", project.version | ||
from(sourceSets.main.resources.srcDirs) { | ||
duplicatesStrategy = DuplicatesStrategy.INCLUDE | ||
include "patches/net.minecraftforge.json" | ||
expand "version": project.version | ||
} | ||
from(sourceSets.main.resources.srcDirs) { | ||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE | ||
exclude "patches/net.minecraftforge.json" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ | |
"uid": "net.minecraftforge" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
"MMC-filename": "ForgeWrapper-${version}.jar" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
org.gradle.daemon = false | ||
|
||
fw_version = 1.5 | ||
fw_version = 1.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
plugins { | ||
id "java" | ||
id "eclipse" | ||
} | ||
|
||
compileJava { | ||
if (JavaVersion.current() < JavaVersion.VERSION_1_9) { | ||
javaCompiler = javaToolchains.compilerFor { | ||
languageVersion = JavaLanguageVersion.of(9) | ||
} | ||
} | ||
sourceCompatibility = 9 | ||
targetCompatibility = 9 | ||
} | ||
|
||
configurations { | ||
apiElements { | ||
attributes { | ||
attribute TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8 | ||
} | ||
} | ||
runtimeElements { | ||
attributes { | ||
attribute TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 8 | ||
} | ||
} | ||
} |
Oops, something went wrong.