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

Performed code refactoring #403

Merged
merged 5 commits into from
Jun 5, 2023
Merged

Performed code refactoring #403

merged 5 commits into from
Jun 5, 2023

Conversation

shanshin
Copy link
Collaborator

@shanshin shanshin commented Jun 2, 2023

Due to the increase in the number of artifacts and dependencies, in order to avoid errors in the future, it became necessary to change the structure of subprojects and add a version catalog.

Gradle plugin is now a subproject, on a par with the CLI and others.

Also implemented is getting rid of buildSrc as an outdated approach in favor of composite assemblies.

@shanshin shanshin requested a review from sandwwraith June 2, 2023 20:48
plugins {
kotlin("jvm") version kotlinVersion
kotlin("jvm") version embeddedKotlinVersion
Copy link
Member

Choose a reason for hiding this comment

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

Is embeddedKotlinVersion a variable provided by Gradle itself? I didn't notice its definition

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

include(":kover-gradle-plugin")
Copy link
Member

Choose a reason for hiding this comment

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

Also, I haven't noticed any changes in publication-related functionality. Are you sure root project won't be published accidentally?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, the root project cannot be published, because the maven-publish plugin is not applied in it and, accordingly, there are no publishing tasks.

@shanshin shanshin merged commit 9e0779c into main Jun 5, 2023
@shanshin shanshin deleted the refactoring branch June 5, 2023 17:09
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