Go to file
Alexander Buntakov 0d038f50ec add common module 2021-06-06 19:19:46 +03:00
common add common module 2021-06-06 19:19:46 +03:00
gradle/wrapper add common module 2021-06-06 19:19:46 +03:00
.editorconfig add common module 2021-06-06 19:19:46 +03:00
.gitignore add common module 2021-06-06 19:19:46 +03:00
README.md add common module 2021-06-06 19:19:46 +03:00
build.gradle.kts add common module 2021-06-06 19:19:46 +03:00
gradle.properties add common module 2021-06-06 19:19:46 +03:00
gradlew add common module 2021-06-06 19:19:46 +03:00
gradlew.bat add common module 2021-06-06 19:19:46 +03:00
settings.gradle.kts add common module 2021-06-06 19:19:46 +03:00

README.md

Modules

Installation via Gradle Composite Build

  1. Add this repository as git submodule of your project

  2. Add to your settings.gradle.kts these lines:

    includeBuild("Backend-common")
    
  3. Use TLK modules as dependencies of your project

    dependencies {
        implementation("ru.touchin:common")
    }
    

common

Набор утилит, структур данных, исключений без привязки к spring

  • ExecutionContext - класс для хранения/получения данных из текущего потока
  • SecureRandomStringGenerator - генератор случайной строки по словарю
  • errors.* - базовые исключения
  • <type>.*Utils - утилиты для различных типов данных