8000 Move version code and name to binary config from forma config by ikarenkov · Pull Request #105 · formatools/forma · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Move version code and name to binary config from forma config #105

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

Merged
merged 3 commits into from
Jun 15, 2022

Conversation

ikarenkov
Copy link
Collaborator

#82

@stepango
Copy link
Collaborator
stepango commented Nov 7, 2021

Potentially we could have multiple binaries in the project with different versioning.

#82 (comment)

Copy link
Collaborator
@michaem michaem left a comment

Choose a reason for hiding this comment

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

  1. Need to clean PR from redundant changes by code formatting
  2. May be need to move out configurations from androidBinary signature and just to pass ready configuration type (not generated) object

@@ -4,6 +4,6 @@ import com.stepango.blockme.common.util.clock.Clock

class AppClock : Clock {

override fun currentTimeMillis(): Long =
System.currentTimeMillis()
override fun currentTimeMillis(): Long =
Copy link
Collaborator

Choose a reason for hiding this comment

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

Unusable code formating changes

@@ -94,7 +93,8 @@ class CharactersListFragment :
is CharactersListViewEvent.OpenCharacterDetail ->
findNavController().navigate(
CharactersListFragmentDirections
.actionCharactersListFragmentToCharacterDetailFragment(viewEvent.id))
.actionCharactersListFragmentToCharacterDetailFragment(viewEvent.id)
Copy link
Collaborator

Choose a reason for hiding this comment

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

redundant changes

@@ -1,6 +1,8 @@
androidBinary(
packageName = "com.stepango.blockme.app",
owner = Teams.core,
versionCode = 1,
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think, better to move out BuildConfig definitions from android binaries and just passing to them already created, immutable version of type configuration: DebugBuildConfig, ReleaseBuildConfig and etc.

# Conflicts:
#	application/build.gradle.kts
stepango
stepango previously approved these changes May 19, 2022
@stepango stepango merged commit a11c530 into master Jun 15, 2022
@stepango stepango deleted the karenkovigor/binaryVersion branch June 15, 2022 19:06
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.

3 participants
0