From fdcc8c4a9193b342092e21f70bce42538a8e9513 Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Mon, 20 Mar 2023 18:08:56 +0100 Subject: [PATCH 1/3] feat: it's no longer necessary to provide the common project under the compileApis argument --- CHANGELOG.md | 5 +++++ README.md | 2 ++ helper.gradle | 6 ++++++ 3 files changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6ff314..55f95d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Changed + +- It's no longer necessary to provide the common project under the `compileApis` argument for `forgeProject` and + `fabricProject`. + ## [0.1.0] - 2023-03-19 ### Changed diff --git a/README.md b/README.md index 1d4cbfb..0018713 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ Refined Architect is a project that is used by all the mods of Refined Mods. It contains GitHub workflows, version management and Gradle helpers to help making (cross-platform) mods easier. +See [refinedarchitect-template](https://github.com/refinedmods/refinedarchitect-template) for an example. + ## Links - [GitHub](https://github.com/refinedmods/refinedarchitect) diff --git a/helper.gradle b/helper.gradle index 1f4126d..d0f0538 100644 --- a/helper.gradle +++ b/helper.gradle @@ -160,6 +160,7 @@ subprojects { compileApis.collect { source(project(it).sourceSets.main) } + source(commonProject.sourceSets.main) } } } @@ -176,6 +177,7 @@ subprojects { compileApis.collect { source(project(it).sourceSets.main) } + source(commonProject.sourceSets.main) } } } @@ -194,6 +196,7 @@ subprojects { compileApis.collect { implementation project(it) } + implementation commonProject } processResources { from commonProject.sourceSets.main.resources @@ -205,6 +208,7 @@ subprojects { compileApis.collect { source(project(it).sourceSets.main.allSource) } + source(commonProject.sourceSets.main.allSource) } jar.finalizedBy('reobfJar') } @@ -232,6 +236,7 @@ subprojects { compileApis.collect { implementation project(it) } + implementation commonProject } processResources { from commonProject.sourceSets.main.resources @@ -240,6 +245,7 @@ subprojects { compileApis.collect { source(project(it).sourceSets.main.allSource) } + source(commonProject.sourceSets.main.allSource) } jar { from '../LICENSE.md' From 29949fb2a94117be5607dc2fbb3ff4e4d542882f Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Mon, 20 Mar 2023 18:10:05 +0100 Subject: [PATCH 2/3] chore: improve CHANGELOG --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55f95d8..7052e64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,7 +17,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Changed - Publishing to Maven is now opt-in with `enablePublishing`. -- Announcing new releases is now opt-in. +- Announcing new releases is now configurable. ## [0.0.2] - 2023-03-19 @@ -30,7 +30,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Added - Version catalogs. -- Fabric and Forge helpers. +- Gradle helpers for Checkstyle, Pitest, etc. +- Gradle helpers for Fabric and Forge projects. - CI workflows. [Unreleased]: https://github.com/refinedmods/refinedarchitect/compare/v0.1.0...HEAD From 64bf079b35829f3f033d8e42b666f98e50b22140 Mon Sep 17 00:00:00 2001 From: raoulvdberge Date: Mon, 20 Mar 2023 17:12:35 +0000 Subject: [PATCH 3/3] chore: prepare release v0.2.0 --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7052e64..8019b41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.2.0] - 2023-03-20 + ### Changed - It's no longer necessary to provide the common project under the `compileApis` argument for `forgeProject` and @@ -34,7 +36,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Gradle helpers for Fabric and Forge projects. - CI workflows. -[Unreleased]: https://github.com/refinedmods/refinedarchitect/compare/v0.1.0...HEAD +[Unreleased]: https://github.com/refinedmods/refinedarchitect/compare/v0.2.0...HEAD + +[0.2.0]: https://github.com/refinedmods/refinedarchitect/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/refinedmods/refinedarchitect/compare/v0.0.2...v0.1.0