Skip to content

feat(gradle): create build-logic#137

Merged
ArthurKun21 merged 36 commits intomasterfrom
chore/gradle/create-build-logic
Apr 6, 2026
Merged

feat(gradle): create build-logic#137
ArthurKun21 merged 36 commits intomasterfrom
chore/gradle/create-build-logic

Conversation

@ArthurKun21
Copy link
Copy Markdown
Owner

@ArthurKun21 ArthurKun21 commented Apr 6, 2026

New Pull Request

Pull Request Type

  • Chore/Refactor
  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Description

  • Create build-logic

Screenshots

Testing

Additional context

This pull request introduces a new Gradle build logic module with a set of convention plugins to standardize and simplify the configuration of Kotlin Multiplatform (KMP), Android, Compose, Spotless, and Maven publishing across the project. It also updates documentation to reflect the removal of the iosX64 target from the supported iOS targets. The most important changes are summarized below.


Build Logic & Convention Plugins:

  • Added a new build-logic/convention module containing reusable Gradle convention plugins for KMP libraries, KMP samples, Compose, Spotless, Maven publishing, and Android sample apps. These plugins encapsulate common configuration and best practices for the project. [1] [2] [3] [4] [5] [6] [7] [8]
  • Introduced shared configuration utilities in gd.buildlogic for Android and KMP projects, including standardized compile options, target SDK versions, and Maven publishing setup. [1] [2] [3] [4]

Build System & Project Settings:

  • Added a dedicated build-logic/gradle.properties file for Gradle performance and caching settings, and a settings.gradle.kts to manage dependency resolution and version catalogs for the build logic. [1] [2]

Documentation Updates:

  • Updated README.md and Agents.md to remove references to the iosX64 target, clarifying that only iosArm64 and iosSimulatorArm64 are supported. This aligns the documentation with the actual targets configured in the new build logic. [1] [2] [3]

These changes lay the groundwork for consistent, maintainable, and scalable multiplatform builds across the project.

ArthurKun21 and others added 30 commits April 6, 2026 12:30
@ArthurKun21
Copy link
Copy Markdown
Owner Author

/gemini summary

@ArthurKun21
Copy link
Copy Markdown
Owner Author

/gemini review

gemini-code-assist[bot]

This comment was marked as resolved.

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

This pull request refactors the project's build system by introducing a dedicated build-logic module. By implementing custom Gradle convention plugins, the project achieves a more maintainable and scalable configuration structure, reducing duplication across KMP and Android modules. Additionally, the changes include documentation updates regarding supported iOS targets and build optimizations.

Highlights

  • Build Logic & Convention Plugins: Introduced a new build-logic/convention module to centralize and standardize Gradle configurations for KMP, Android, Compose, Spotless, and Maven publishing.
  • Build System Refactoring: Migrated project-wide build configurations into reusable convention plugins, significantly simplifying individual module build.gradle.kts files.
  • Documentation Updates: Updated project documentation to reflect the removal of the iosX64 target, aligning it with the updated build configuration.
  • Build Optimization: Added build-logic/gradle.properties for improved build performance and caching, and implemented conditional inclusion of sample modules to support JitPack builds.
Activity
  • The pull request was created by ArthurKun21.
  • The author requested a summary and a review via automated commands.
  • The automated code review agent provided several high and medium priority suggestions regarding iOS target support, dependency API visibility, Android SDK versions, and code cleanup within the new convention plugins.

gemini-code-assist[bot]

This comment was marked as resolved.

@ArthurKun21 ArthurKun21 merged commit 4a64c12 into master Apr 6, 2026
11 checks passed
@ArthurKun21 ArthurKun21 deleted the chore/gradle/create-build-logic branch April 6, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant