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

Fixed usage Kover Gradle Plugin in buildSrc directory #432

Merged
merged 2 commits into from
Jul 14, 2023
Merged

Conversation

shanshin
Copy link
Collaborator

Fixes #415

kotlin-dsl itself specifies the language version to ensure compatibility of the Kotlin DSL API.
Since we ourselves guarantee and test compatibility with previous Gradle versions, we can override language version.
The easiest way to do this now is to specify the version in the afterEvaluate block

Fixes #415

`kotlin-dsl` itself specifies the language version to ensure compatibility of the Kotlin DSL API.
Since we ourselves guarantee and test compatibility with previous Gradle versions, we can override language version
The easiest way to do this now is to specify the version in the `afterEvaluate` block
@sandwwraith
Copy link
Member

Where do you set kover.test.gradle.version? On TeamCity?

@shanshin
Copy link
Collaborator Author

Where do you set kover.test.gradle.version? On TeamCity?

This parameter is optional, if it is not specified, Gradle is used, which builds the project itself.

In teamcity, in the future, it is necessary to configure builds with different versions of Gradle - this is planned for about version 0.9.0

Co-authored-by: Leonid Startsev <sandwwraith@users.noreply.github.com>
@shanshin shanshin merged commit 3e2aeca into main Jul 14, 2023
@shanshin shanshin deleted the fix-build-src branch July 14, 2023 15:57
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.

Compile error in version 0.7.1
2 participants