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 atomicfu build scripts for inclusion into the main aggregate as a user project #265

Merged
merged 1 commit into from Dec 8, 2022

Conversation

stasjas
Copy link
Contributor

@stasjas stasjas commented Nov 25, 2022

No description provided.

@stasjas stasjas force-pushed the as/KTI-1016-atomicfu-to-aggregate branch from 9849795 to b1225b8 Compare November 25, 2022 14:59
Copy link
Member

@qwwdfsad qwwdfsad left a comment

Choose a reason for hiding this comment

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

  • Please change the target branch to develop
  • Currently, all RR/train support is stretched through all Gradle files. It's both hard to maintain and understand. Please create a separate .kts file and declare all RR-specific variables and functions there. Then on call-sites we will have clear entry-point:
// KotlinDevSupport.kts
// Here will be a huge comment explaining why this is needed and how it is used

val kotlinDevRepo = ...
fun getApiVersionForOverriddenKotlin() = ...

Pros: everything is documented in a single place, easy to maintain, hard to miss, no questions on individual call sites

atomicfu-gradle-plugin/build.gradle Outdated Show resolved Hide resolved
atomicfu-maven-plugin/build.gradle Outdated Show resolved Hide resolved
atomicfu-maven-plugin/build.gradle Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
@stasjas stasjas force-pushed the as/KTI-1016-atomicfu-to-aggregate branch 4 times, most recently from dabdd28 to dcf89d6 Compare December 6, 2022 19:00
@stasjas stasjas changed the base branch from master to develop December 6, 2022 19:01
@stasjas stasjas force-pushed the as/KTI-1016-atomicfu-to-aggregate branch from dcf89d6 to 9c93c31 Compare December 6, 2022 19:08
@mvicsokolova
Copy link
Collaborator

LGTM 👍

@stasjas stasjas force-pushed the as/KTI-1016-atomicfu-to-aggregate branch 2 times, most recently from 006a510 to f8bd635 Compare December 8, 2022 13:42
…build //KTI-1016

Parametrize kotlin api version, kotlin language version.

Support passing an url for a kotlin compiler repository, drop space kotlin/dev repo from dependencies:
Kotlin compiler artifacts should be downloaded from maven central by default.
In case of compiling with not-published into the MC kotlin compiler artifacts, a kotlin_repo_url should be specified as a gradle parameter(E.g. space kotlin/dev repo).
@stasjas stasjas force-pushed the as/KTI-1016-atomicfu-to-aggregate branch from f79e5d5 to ae7433b Compare December 8, 2022 15:06
@stasjas stasjas merged commit a1aba90 into develop Dec 8, 2022
woainikk added a commit that referenced this pull request Dec 21, 2022
stasjas added a commit that referenced this pull request Dec 22, 2022
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.

None yet

3 participants