Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for build and publication using Compose Multiplatform CI #25

Merged
merged 7 commits into from
Dec 13, 2024

Conversation

eymar
Copy link
Collaborator

@eymar eymar commented Dec 10, 2024

Main Changes:

  • ensured a new package, artifact group id, etc: org.jetbrains.compose.storytale
  • added a gradle property storytale.deploy.version to be able to set the version on CI as an argument for a gradle task
  • added ComposeRepo maven repository which requires a few env variables for correct initialization (to be provided by CI)
  • set the modules version in one place - the root build.gradle.kts

@eymar eymar requested review from JSMonk and whitescent December 10, 2024 11:27
examples/build.gradle.kts Outdated Show resolved Hide resolved
@@ -101,11 +102,11 @@ val KotlinCompilation<*>.resolveDependencyResourcesTaskName: String
get() = "${name.lowercase()}${target.name.capitalized()}ResolveDependencyResources"

fun setupResourceResolvingForTarget(storytaleBuildDir: File, compilation: KotlinCompilation<*>) {
compilation.project.tasks.register<ResolveResourcesFromDependenciesTask>(compilation.resolveDependencyResourcesTaskName) {
compilation.project.tasks.register(compilation.resolveDependencyResourcesTaskName, ResolveResourcesFromDependenciesTask::class.java, Action {
Copy link
Collaborator Author

@eymar eymar Dec 10, 2024

Choose a reason for hiding this comment

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

for some reason after moving the files into a new package (there was no package previously), the previous call didn't want to compile - the errors was "unresolved symbol".

The new call is doing the same.

@JSMonk JSMonk merged commit 9d0400e into main Dec 13, 2024
1 check passed
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.

4 participants