Skip to content

Remove obsolete SkikoExtensionsSample and its CI checks - #1367

Open
Hubert Błaszczyk (hub-bla) wants to merge 1 commit into
masterfrom
hub.bla/remove-skiko-extensions-sample
Open

Hubert Błaszczyk (hub-bla) wants to merge 1 commit into
masterfrom
hub.bla/remove-skiko-extensions-sample

Conversation

@hub-bla

Copy link
Copy Markdown
Contributor

The SkikoExtensionsSample was created to test extension modules at runtime. Now that Ganesh and platform code are extension modules, the SkiaMultiplatformSample already covers this so the dedicated sample is no longer needed

implementation("org.jetbrains.skiko:skiko:$skikoVersion")
implementation("org.jetbrains.skiko:skiko-ganesh:$skikoVersion")
implementation("org.jetbrains.skiko:skiko-platform:$skikoVersion")
implementation("org.jetbrains.skiko:skiko-skottie:$skikoVersion")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sample checks not only "an extension", but the Skottie extension and other future potential ones. They looks different from Ganesh/Graphite at least from usage perspective - they are optional, not "must have" extensions.

If we want to remove this sample, we have to move these into SkiaMultiplatformSample.

But then we don't test Skiko without extensions.

So, a separate sample might be beneficial.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree that testing such extensions could be beneficial.

In this case, I would still get rid of it as a separate project and instead restructure SkiaMultiplatformSample into modules since SkikoExtensionsSample duplicates much of it. wdyt?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we integrate it into SkiaMultiplatformSample, we lose testing Skia without extensions, unless we add 2 entry-modules like app and app-with-extensions.

Not sure that having a duplicating sample is an issue. Maybe the issue is that samples now has 2 purposes:

  • public sample for users
  • testing an use case

To solve this, we can move it into integration-checks/ProjectWithExtensions

This branch has not been deployed

No deployments
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