Collection of tools for coding in Kotlin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
InsanusMokrassar 58cded28d3
Merge pull request #217 from InsanusMokrassar/0.16.6
1 week ago
.github/workflows remove redundant fix of android 32 dx files from worflows 2 months ago
android migration onto toml 11 months ago
common improvements in ktor client-server files handling 2 months ago
coroutines launchInCurrentThread 1 month ago
crypto Delete HmacSHA256.kt 6 months ago
dokka fixes in source roots of dokka 2 months ago
fsm fix of build 6 months ago
gradle Update libs.versions.toml 4 weeks ago
koin fix of #155 and build 5 months ago
ktor small improvement of openBaseWebSocketFlow 2 weeks ago
language_codes refresh language codes 2 months ago
matrix update matrix test 2 years ago
mime_types updates and fixes in mime types 2 months ago
pagination deprecations removing 4 months ago
repos Column extensions eqOrIsNull and neqOrIsNotNull 2 weeks ago
safe_wrapper improve default runCatchingSafely/safelyWithResult and add suspend variances of safe/unsafe SafeWrapper interface 2 months ago
selector/common migration onto toml 11 months ago
serialization update exposed and adapt to new version of kotlin serialization 1 year ago
startup improvements in microutils 2 weeks ago
.gitignore ignore kotlin-js-store folder 1 year ago
CHANGELOG.md Column extensions eqOrIsNull and neqOrIsNotNull 2 weeks ago
LICENSE Initial commit 2 years ago
README.md update readme 2 years ago
_config.yml Set theme jekyll-theme-cayman 2 years ago
build.gradle migration onto new ktor and other dependencies 9 months ago
build_and_publish.sh update publishing scripts 2 years ago
changelog_parser.sh Update and rename changelog_info_retriever to changelog_parser.sh 2 years ago
defaultAndroidSettings.gradle migration onto toml 11 months ago
extensions.gradle start fix startup 1 month ago
github_release.gradle Update github_release.gradle 7 months ago
gradle.properties start 0.16.6 3 weeks ago
gradlew init with pagination 2 years ago
gradlew.bat init with pagination 2 years ago
mppAndroidProject.gradle updates in scripts and update core ktx 1 year ago
mppJavaProject.gradle updates in scripts and update core ktx 1 year ago
mppJsAndJavaProject.gradle start fix startup 1 month ago
mppProjectWithSerialization.gradle initialize startup module 2 months ago
mppProjectWithSerializationAndCompose.gradle initialize startup module 2 months ago
publish.gradle add gitea repo 2 months ago
publish.kpsb add gitea repo 2 months ago
settings.gradle add safe wrapper 2 months ago

README.md

MicroUtils

This is a library with collection of tools for working in Kotlin environment. First of all, this library collection is oriented to use next technologies:

Android environment

You always can look at the properties file to get information about current project dependencies, compile and build tools for Android target.

Projects

  • common contains common tools for platform which usually are absent out-of-the-box when you starting project
  • selector contains tools to use Selector interface with things like RecyclerView in android or other selection needs
  • coroutines is a module for Kotlin Coroutines with different things like subscribing on flows (onEach + launchIn shortcut :) )
  • ktor is a set of modules for clients and servers
  • mime_types is NOT lightweight set of MimeTypes with a lot of different objected and serializable (with Kotlin Serialization) mime types
  • pagination is a complex of modules (explanation in Complex modules structure section) for lightweight pagination
  • serialization is a collection of projects with serializers for kotlinx.serialization
  • repos is a complex of modules (explanation in Complex modules structure section) for KeyValue/OneToMany/CRUD repos created to be able to exclude some heavy dependencies when you need some simple and lightweight typical repositories

Complex modules structure

Most of complex modules are built with next hierarchy:

  • common submodule for API things which are common for all platforms
  • exposed submodule contains realizations for exposed tables
  • ktor submodule is usually unavailable directly, because it contains its own submodules for clients and servers
    • common part contains routes which are common for clients and servers
    • client submodule contains clients which are usually using UnifiedRequester to make requests using routes from ktor/common module and some internal logic of requests
    • server submodule (in most cases JVM-only) contains some extensions for Route instances which usually will give opportunity to proxy internet requests from ktor/client realization to some proxy object