-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Conversation
Potentially we could have multiple binaries in the project with different versioning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Need to clean PR from redundant changes by code formatting
- 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 = |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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
#82