Refactor: Extract common multiplatform configuration (#5)
Merged
Target branch was fast-forwarded to source branch
Commits were rebased onto target branch
Siarhei Luskanau opened 2 months ago

This commit introduces a convention plugin for multiplatform projects to centralize common configuration.

The plugin sets up the JVM toolchain, configures JVM and JS targets, and adds basic dependencies for common, JVM, and JS source sets.

Individual module build scripts now use the kotlinMultiplatformConvention plugin to apply this shared configuration.

I submit my source code and allow Tigase to release the code as a part of Tigase's own software package under any license, either an open source or closed source.

New commits added 2 months ago
Refactor: Migrate to TOML dependency management
This commit introduces a TOML catalog for managing dependencies and plugins, replacing inline version definitions.
It updates build scripts across the project to utilize the catalog, promoting consistency and simplifying dependency management.
Additionally, it configures repositories for plugin and dependency resolution in the settings file.
2 months ago
Update dependencies
This commit updates several dependencies, including:
- Bumping BouncyCastle from 1.76 to 1.79
- Bumping kotlinx.datetime from 0.5.0 to 0.6.1
- Bumping Dokka from 1.8.10 to 1.9.20
- Bumping Kotlin from 1.9.22 to 1.9.25
- Bumping Krypto from 4.0.9 to 4.0.10
- Bumping MiniDNS from 1.0.3 to 1.1.1

It also updates the CI workflows to use:
- `actions/checkout@v4`
- `gradle/gradle-build-action@3`

I submit my source code and allow Tigase to release the code as a part of Tigase's own software package under any license, either an open source or closed source.
2 months ago
Refactor: Extract common multiplatform configuration
This commit introduces a convention plugin for multiplatform projects to centralize common configuration.

The plugin sets up the JVM toolchain, configures JVM and JS targets, and adds basic dependencies for common, JVM, and JS source sets.

Individual module build scripts now use the `kotlinMultiplatformConvention` plugin to apply this shared configuration.

I submit my source code and allow Tigase to release the code as a part of Tigase's own software package under any license, either an open source or closed source.
2 months ago
New commits added 2 months ago
Refactor: Extract common multiplatform configuration
This commit introduces a convention plugin for multiplatform projects to centralize common configuration.

The plugin sets up the JVM toolchain, configures JVM and JS targets, and adds basic dependencies for common, JVM, and JS source sets.

Individual module build scripts now use the `kotlinMultiplatformConvention` plugin to apply this shared configuration.

I submit my source code and allow Tigase to release the code as a part of Tigase's own software package under any license, either an open source or closed source.
2 months ago
wojciech.kapcia@tigase.net merged 1 month ago
Siarhei Luskanau deleted source branch 1 month ago
wojciech.kapcia@tigase.net commented 1 month ago

Unfortunately it seems this broke the build: https://tigase.dev/tigase/_libraries/halcyon/~builds/30

I had to revert "Extract common multiplatform configuration" commit (https://tigase.dev/tigase/_libraries/halcyon/~commits/f7cd86cfd9165cc8fa0a0bd6367eb74040af98c0)

It was an error on my part not testing this thoroughly. To address that I added build trigger on PR which should make the situation better in the future.

Siarhei Luskanau commented 1 month ago

Unfortunately I can't see the build logs. Looks like I have no permissions. Would you like to add comment with error stacktrace?

wojciech.kapcia@tigase.net commented 1 month ago

Hmm... it seems there is no permission for read-only build access. Here's the log:

build-log.txt

Curiously - does it build on your end? It failed for me locally as well.

pull request 1 of 1
Submitter Siarhei Luskanau
Target master
Source siarhei-luskanau/halcyon:convention-plugin-multiplatform
Merge Strategy
Rebase Source Branch Commits
Watchers (3)
Reference
pull request tigase/_libraries/halcyon#5
Please wait...
Page is in error, reload to recover