Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
chore: upgrade refined architect
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Jul 8, 2024
1 parent e940952 commit 4e61db8
Show file tree
Hide file tree
Showing 17 changed files with 118 additions and 44 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [ opened, synchronize, reopened ]
jobs:
build:
uses: refinedmods/refinedarchitect/.github/workflows/build.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/build.yml@v0.16.2
with:
mutation-testing: false
sonarqube: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
type: string
jobs:
draft:
uses: refinedmods/refinedarchitect/.github/workflows/draft-release.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/draft-release.yml@v0.16.2
with:
release-type: ${{ inputs.release-type }}
version-number-override: ${{ inputs.version-number-override }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue-for-unsupported-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on:
types: [ labeled, unlabeled, reopened ]
jobs:
unsupported-labeler:
uses: refinedmods/refinedarchitect/.github/workflows/issue-for-unsupported-version.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/issue-for-unsupported-version.yml@v0.16.2
2 changes: 1 addition & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
- closed
jobs:
publish-release:
uses: refinedmods/refinedarchitect/.github/workflows/publish-release.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/publish-release.yml@v0.16.2
secrets: inherit
with:
project-name: 'Refined Architect template'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/resolved-issue-locking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on:
- cron: '0 0 * * *'
jobs:
lock:
uses: refinedmods/refinedarchitect/.github/workflows/resolved-issue-locking.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/resolved-issue-locking.yml@v0.16.2
2 changes: 1 addition & 1 deletion .github/workflows/validate-branch-name.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: Validate branch name
on: [ pull_request ]
jobs:
validate-branch-name:
uses: refinedmods/refinedarchitect/.github/workflows/validate-branch-name.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/validate-branch-name.yml@v0.16.2
2 changes: 1 addition & 1 deletion .github/workflows/validate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ on:
types: [ opened, synchronize, reopened, ready_for_review, labeled, unlabeled ]
jobs:
validate-changelog:
uses: refinedmods/refinedarchitect/.github/workflows/validate-changelog.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/validate-changelog.yml@v0.16.2
2 changes: 1 addition & 1 deletion .github/workflows/validate-commit-messages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: Validate commit messages
on: [ pull_request ]
jobs:
validate-commit-messages:
uses: refinedmods/refinedarchitect/.github/workflows/validate-commit-messages.yml@v0.15.3
uses: refinedmods/refinedarchitect/.github/workflows/validate-commit-messages.yml@v0.16.2
5 changes: 0 additions & 5 deletions build.gradle

This file was deleted.

11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
plugins {
id("refinedarchitect.root")
}

refinedarchitect {
// sonarQube("refinedmods_XXX", "refinedmods")
}

subprojects {
group = "com.refinedmods.refinedarchitect-template"
}
15 changes: 13 additions & 2 deletions refinedarchitect-template-platform-common/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
archivesBaseName = 'refinedarchitect-template-platform-common'
plugins {
id("refinedarchitect.common")
}

commonProject()
refinedarchitect {
common()
publishing {
// maven = false
}
}

base {
archivesName.set("refinedarchitect-template-platform-common")
}
3 changes: 0 additions & 3 deletions refinedarchitect-template-platform-fabric/build.gradle

This file was deleted.

18 changes: 18 additions & 0 deletions refinedarchitect-template-platform-fabric/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
plugins {
id("refinedarchitect.fabric")
}

refinedarchitect {
modId = "refinedarchitecttemplate"
fabric()
compileWithProject(project(":refinedarchitect-template-platform-common"))
publishing {
// maven = true
// curseForge = "123"
// modrinth = "slug"
}
}

base {
archivesName.set("refinedarchitect-template-neoforge")
}
3 changes: 0 additions & 3 deletions refinedarchitect-template-platform-neoforge/build.gradle

This file was deleted.

18 changes: 18 additions & 0 deletions refinedarchitect-template-platform-neoforge/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
plugins {
id("refinedarchitect.neoforge")
}

refinedarchitect {
modId = "refinedarchitecttemplate"
neoForge()
compileWithProject(project(":refinedarchitect-template-platform-common"))
publishing {
// maven = true
// curseForge = "123"
// modrinth = "slug"
}
}

base {
archivesName.set("refinedarchitect-template-neoforge")
}
23 changes: 0 additions & 23 deletions settings.gradle

This file was deleted.

50 changes: 50 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
dependencyResolutionManagement {
repositories {
maven {
url = uri("https://maven.pkg.github.com/refinedmods/refinedarchitect")
credentials {
username = "anything"
password = "\u0067hp_oGjcDFCn8jeTzIj4Ke9pLoEVtpnZMP4VQgaX"
}
}
}
versionCatalogs {
create("libs") {
from("com.refinedmods.refinedarchitect:refinedarchitect-versioning:0.16.2")
}
}
}

pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven {
url = uri("https://maven.pkg.github.com/refinedmods/refinedarchitect")
credentials {
username = "anything"
password = "\u0067hp_oGjcDFCn8jeTzIj4Ke9pLoEVtpnZMP4VQgaX"
}
}
maven {
name = "Fabric"
url = uri("https://maven.fabricmc.net/")
}
maven {
name = "NeoForge"
url = uri("https://maven.neoforged.net/releases")
}
}
plugins {
id("refinedarchitect.root").version("0.16.2")
id("refinedarchitect.base").version("0.16.2")
id("refinedarchitect.common").version("0.16.2")
id("refinedarchitect.neoforge").version("0.16.2")
id("refinedarchitect.fabric").version("0.16.2")
}
}

rootProject.name = "refinedarchitect-template"
include("refinedarchitect-template-platform-common")
include("refinedarchitect-template-platform-neoforge")
include("refinedarchitect-template-platform-fabric")

0 comments on commit 4e61db8

Please sign in to comment.