Skip to content

Feats/modules#4

Merged
Polliog merged 13 commits intologtide-dev:mainfrom
EmanueleIannuzzi:feats/modules
Feb 9, 2026
Merged

Feats/modules#4
Polliog merged 13 commits intologtide-dev:mainfrom
EmanueleIannuzzi:feats/modules

Conversation

@EmanueleIannuzzi
Copy link
Member

@EmanueleIannuzzi EmanueleIannuzzi commented Feb 9, 2026

This pull request introduces a new build convention plugin and modernizes the project's build setup, including version catalog management, dependency bundling, and publishing metadata configuration. The changes improve maintainability and scalability by centralizing dependency management, automating plugin application, and standardizing publishing metadata. Additionally, the Gradle wrapper scripts have been updated for improved compatibility and error handling.

Build system enhancements:

  • Added a buildSrc module with build.gradle.kts to enable Kotlin DSL and provide shared build logic and dependencies.
  • Introduced libs.versions.toml and frameworks.versions.toml files for centralized version catalog management, grouping libraries and plugins for easier dependency updates and bundling. [1] [2]
  • Implemented Libs.kt to provide convenient accessors for version catalogs in Gradle scripts.

Convention plugin and project configuration:

  • Created the LogtideConventionPlugin in plugins/LogtideConventionPlugin.kt to automatically apply Kotlin JVM and serialization plugins, and configure standard dependencies for implementation and testing. Registered the plugin in logtide.convention.properties. [1] [2]
  • Updated logtide-core/build.gradle.kts to use the new convention plugin and dependency bundles for a cleaner build definition.
  • Added gradle.properties for global project settings, including JVM target, project group, and version.

Publishing improvements:

  • Added helpers/Publishing.kt to standardize Maven publishing metadata, including project description, license, developer info, and SCM configuration for Maven Central publication.

Gradle wrapper script updates:

  • Modernized gradlew and gradlew.bat scripts for better POSIX and Windows compatibility, improved error handling, and updated copyright/license headers. [1] [2] [3] [4] [5]

Minor code improvements:

  • Updated logger initialization in LogTideClient.kt to use this::class.java for improved accuracy.

@Polliog Polliog marked this pull request as ready for review February 9, 2026 20:50
@Polliog Polliog merged commit fa757be into logtide-dev:main Feb 9, 2026
1 check passed
@EmanueleIannuzzi EmanueleIannuzzi deleted the feats/modules branch February 9, 2026 21:36
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.

2 participants