generated from y9vad9/kotlin-project-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor&feat&fix: migration to flowmvi, new validation model, stabil…
…ity config for Compose and other fixes (#124) * refactor: from MVI with ViewModels to MVI with the Decompose * refactor: from MVI with ViewModels to MVI with the Decompose * feat: compose reports & compose stability config * feat&refactor: better validation with built-in support from SDK * feat: timers repository now handles updates locally * feat: hook to use libs generation in the build conventions * refactor: from self-written MVI model to the flowmvi * refactor: sdk-related objects creation is fixed * fix: missing LocalTimeProvider * refactor: removed run configuration in favor to IDE configuration * fix: target jvm * chore: removed modules that're no longer in use * fix&feat: fix of mistakes & new strings * refactor: clean up * chore: Singletons instead of Factories * fix: fixes according to new versions of libs * feat: Android Run Configuration * fix: previews * small fixes
- Loading branch information
Showing
265 changed files
with
2,624 additions
and
3,227 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Run Android Application" type="AndroidRunConfigurationType" factoryName="Android App"> | ||
<module name="timemates-app.platform.android.main" /> | ||
<option name="DEPLOY" value="true" /> | ||
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" /> | ||
<option name="DEPLOY_AS_INSTANT" value="false" /> | ||
<option name="ARTIFACT_NAME" value="" /> | ||
<option name="PM_INSTALL_OPTIONS" value="" /> | ||
<option name="ALL_USERS" value="false" /> | ||
<option name="ALWAYS_INSTALL_WITH_PM" value="false" /> | ||
<option name="CLEAR_APP_STORAGE" value="false" /> | ||
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" /> | ||
<option name="ACTIVITY_EXTRA_FLAGS" value="" /> | ||
<option name="MODE" value="default_activity" /> | ||
<option name="CLEAR_LOGCAT" value="false" /> | ||
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="true" /> | ||
<option name="INSPECTION_WITHOUT_ACTIVITY_RESTART" value="false" /> | ||
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" /> | ||
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" /> | ||
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" /> | ||
<option name="DEBUGGER_TYPE" value="Auto" /> | ||
<Auto> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Auto> | ||
<Hybrid> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Hybrid> | ||
<Java> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Java> | ||
<Native> | ||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" /> | ||
<option name="SHOW_STATIC_VARS" value="true" /> | ||
<option name="WORKING_DIR" value="" /> | ||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" /> | ||
<option name="SHOW_OPTIMIZED_WARNING" value="true" /> | ||
<option name="ATTACH_ON_WAIT_FOR_DEBUGGER" value="false" /> | ||
<option name="DEBUG_SANDBOX_SDK" value="false" /> | ||
</Native> | ||
<Profilers> | ||
<option name="ADVANCED_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" /> | ||
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" /> | ||
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" /> | ||
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" /> | ||
</Profilers> | ||
<option name="DEEP_LINK" value="" /> | ||
<option name="ACTIVITY_CLASS" value="" /> | ||
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" /> | ||
<option name="SKIP_ACTIVITY_VALIDATION" value="false" /> | ||
<method v="2"> | ||
<option name="Android.Gradle.BeforeRunTask" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 6 additions & 10 deletions
16
build-conventions/src/main/kotlin/koin-dependencies-convention.gradle.kts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
import org.gradle.accessors.dm.LibrariesForLibs | ||
|
||
plugins { | ||
id("multiplatform-library-convention") | ||
id("com.google.devtools.ksp") | ||
} | ||
|
||
version = "SNAPSHOT" | ||
|
||
val koinVersion = "3.5.3" | ||
val koinAnnotationsVersion = "1.3.0" | ||
val libs = the<LibrariesForLibs>() | ||
|
||
dependencies { | ||
commonMainImplementation("io.insert-koin:koin-core:$koinVersion") | ||
commonMainImplementation("io.insert-koin:koin-annotations:$koinAnnotationsVersion") | ||
|
||
val kspCompiler = "io.insert-koin:koin-ksp-compiler:$koinAnnotationsVersion" | ||
|
||
add("kspCommonMainMetadata", kspCompiler) | ||
add("kspJvm", kspCompiler) | ||
add("kspAndroid", kspCompiler) | ||
commonMainImplementation(libs.koin.core) | ||
commonMainImplementation(libs.koin.annotations) | ||
ksp(libs.koin.ksp.compiler) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.