Skip to content

Commit

Permalink
Use brand spankin new Ferry multi-platform.
Browse files Browse the repository at this point in the history
  • Loading branch information
gniftygnome committed Apr 11, 2024
1 parent 93b95dd commit a70bce6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build
#run: ./gradlew generateChangelog build publish publishMods -Pgithub -Pmodrinth -Pcurseforge -Pdiscord -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}" --stacktrace
run: ./gradlew generateChangelog build publish -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}" --stacktrace
run: ./gradlew generateChangelog build publish publishMods -Pgithub -Pmodrinth -Pcurseforge -Pdiscord -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}" --stacktrace
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
Expand Down
5 changes: 4 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ subprojects {
}
}

// Ferry for publishing; this has to be after arch dev plugin apply and before subproject version is set.
apply from: 'https://raw.githubusercontent.com/TerraformersMC/GradleScripts/3.0-beta/ferry-mpp.gradle'

allprojects {
apply plugin: "java"
apply plugin: "architectury-plugin"
apply plugin: "maven-publish"

version = rootProject.mod_version
group = rootProject.maven_group
version = rootProject.version

repositories {
mavenCentral()
Expand Down
3 changes: 0 additions & 3 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id "com.github.johnrengelman.shadow" version "7.1.2"
}

// Ferry for publishing
apply from: 'https://raw.githubusercontent.com/TerraformersMC/GradleScripts/3.0-beta/ferry-mpp.gradle'

architectury {
platformSetupLoomIde()
fabric()
Expand Down
3 changes: 0 additions & 3 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id "com.github.johnrengelman.shadow" version "7.1.2"
}

// Ferry for publishing
apply from: 'https://raw.githubusercontent.com/TerraformersMC/GradleScripts/3.0-beta/ferry-mpp.gradle'

architectury {
platformSetupLoomIde()
forge()
Expand Down
3 changes: 0 additions & 3 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ plugins {
id "com.github.johnrengelman.shadow" version "7.1.2"
}

// Ferry for publishing
apply from: 'https://raw.githubusercontent.com/TerraformersMC/GradleScripts/3.0-beta/ferry-mpp.gradle'

architectury {
platformSetupLoomIde()
neoForge()
Expand Down

0 comments on commit a70bce6

Please sign in to comment.