Skip to content

Commit

Permalink
Migrate to Forge
Browse files Browse the repository at this point in the history
  • Loading branch information
LexManos committed Oct 24, 2023
1 parent 09c1f99 commit 0bb19af
Show file tree
Hide file tree
Showing 20 changed files with 484 additions and 604 deletions.
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
* text eol=lf
*.bat text eol=crlf
*.patch text eol=lf
*.java text eol=lf
*.gradle text eol=crlf
*.png binary
*.gif binary
*.exe binary
*.dll binary
*.jar binary
*.lzma binary
*.zip binary
*.pyd binary
*.cfg text eol=lf
*.py text eol=lf
*.jks binary
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish

on:
push:
branches: [ "master" ]

permissions:
contents: read

jobs:
build:
uses: MinecraftForge/SharedActions/.github/workflows/gradle.yml@main
with:
java: 17
gradle_tasks: "publish"
artifact_name: "bootstrap"
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
PROMOTE_ARTIFACT_WEBHOOK: ${{ secrets.PROMOTE_ARTIFACT_WEBHOOK }}
PROMOTE_ARTIFACT_USERNAME: ${{ secrets.PROMOTE_ARTIFACT_USERNAME }}
PROMOTE_ARTIFACT_PASSWORD: ${{ secrets.PROMOTE_ARTIFACT_PASSWORD }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
35 changes: 25 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
# Project exclude paths
/.gradle/
/build/
/build/classes/java/main/
/.idea/
/.settings/
/bin/
/.classpath
/.project
/repo/
#eclipse
**/bin
**/.settings
**/.classpath
**/.project
**/.factorypath
**/.apt_generated

#idea
/.idea
/*/out
/classes
*.iml

# We however WANT the ide folder as it has tempaltes/configs for developing Forge.
!ide/**

#gradle
/build
/.gradle
/*/build
/*/.gradle

#occupational hazards
/repo/
104 changes: 0 additions & 104 deletions .teamcity/pom.xml

This file was deleted.

61 changes: 0 additions & 61 deletions .teamcity/settings.kts

This file was deleted.

Loading

0 comments on commit 0bb19af

Please sign in to comment.