Integrated code framework based on Kotlin, provides many useful extensions for standard library and some frameworks.

Overview

概述

中文文档 | English Documentation

中文参考文档 | English Reference Documentation

Github

基于Kotlin的整合代码框架。为标准库和部分框架提供各种有用的扩展。

注意:

  • 这个框架是为Kotlin Jvm设计的,可以在Java中使用它的一部分功能。
  • 这个框架仍在更新中,未来会提供更多的功能。
  • 这个框架尚未确定模块、目录和文件结构,未来它们可能会发生较大的变动。

Kotlin版本:Kotlin Jvm 1.5.30

模块

breeze-core

提供基础的扩展。

  • 提供额外的顶级方法。如pass()javaTypeOf()Any?.cast()
  • 提供额外的入口方法。如enumMapOf()concurrentMapOf()
  • 提供额外的操作符方法。如String.times()List.times()
  • 为常用类提供各种各样的扩展方法。如String.truncate()List.swap()Map.asConcurrent()
  • 为数据类提供各种各样的扩展方法。如Any?.smartEquals()equalsBy()
  • 提供各种各样的组件,用于实现特定的功能。如ConverterDefaultGeneratorRandomGeneratorCaseFormat
  • 支持1到6个参数的元组。

breeze-dsl

提供简洁而灵活的dsl api,用于通过代码生成标记语言的文本。

breeze-functional

提供函数式编程的扩展。

breeze-http

提供简洁而直观的http api,基于Java原生的http api,用于发起http请求。

breeze-javafx

提供javafx的扩展

breeze-logger

提供简单的日志器的api。

breeze-reflect

提供java反射和kotlin反射的扩展。

breeze-serialization

提供简洁而统一的序列化器api,基于第三方库,用于进行数据的序列化与反序列化。

breeze-time

提供java时间api的扩展。

参考

框架 & 库 & 实现

用法

项目已发布到Maven Central

Maven

pom.xml中:

<dependencies>
  <dependency>
    <groupId>icu.windea.breezeframeworkgroupId>
    <artifactId>${module}artifactId>
    <version>${version}version>
  dependency>
  
dependencies>

Gradle

build.gradle中:

dependencies {
    implementation "icu.windea.breezeframework:$module:$version"
    //...
}

Gradle Kts

build.gradle.kts中:

dependencies {
    implementation("icu.windea.breezeframework:$module:$version")
    //...
}
You might also like...
Godot's AdMob Plugin for Android (3.2.2+) using GitHub Actions for CI/CD. Working on Standard and Mono Godot versions.
Godot's AdMob Plugin for Android (3.2.2+) using GitHub Actions for CI/CD. Working on Standard and Mono Godot versions.

Godot AdMob Android A Godot's plugin for Android of AdMob. About • Installation • Docs • Downloads About This repository is for a Godot Engine Plugin

KotlinX Serialization Standard Serializers (KS3)

KotlinX Serialization Standard Serializers (KS3) This project aims to provide a set of serializers for common types. ⚠️ Consider this project to be Al

An Android app with many challenge modules and SOLID at all
An Android app with many challenge modules and SOLID at all

android-super-app An Android app with many challenge modules and SOLID at all. Features Kotlin Coroutines with Flow (State Flow) Kotlin Serialization

A collection of hand-crafted extensions for your Kotlin projects.

Splitties Splitties is a collection of small Kotlin multiplatform libraries (with Android as first target). These libraries are intended to reduce the

Common Android/Kotlin extensions

Common Android/Kotlin extensions Gradle implementation "com.github.javokhirsavriev:common-extensions:1.0.1" License Copyright 2022 Javokhir Savriev L

Various experimental proposals and extensions to Javalin 4.x used in Reposilite 3.x

Javalin RFCs Various experimental extensions to Javalin 4.x used in Reposilite 3.x. Provides basic support for Kotlin coroutines and async routes with

Automatic CoroutineDispatcher injection and extensions for kotlinx.coroutines

Dispatch Utilities for kotlinx.coroutines which make them type-safe, easier to test, and more expressive. Use the predefined types and factories or de

A collection of useful Kotlin extension for Android

karamba A collection of useful Kotlin extension for Android Install Add to gradle in allprojects maven { url 'https://jitpack.io' } then add this com

Android View Lifecycle Extensions

Android View Lifecycle Extensions Extensions for Android View class that let you access a view lifecycle without having to create a custom view (exten

Owner
微风的龙骑士
微风的龙骑士
Gits-android-extensions - A collection of Kotlin extensions to simplify Android development

gits-android-extensions A collection of Kotlin extensions to simplify Android de

GITS Indonesia 3 Feb 3, 2022
Swift-friendly api generator for Kotlin/Native frameworks

MOKO KSwift KSwift it's gradle plugin for generation Swift-friendly API for Kotlin/Native framework. Kotlin sealed interface/class to Swift enum Kotli

IceRock Development 226 Dec 28, 2022
WolfxPaper - A Paper fork designed for Wolfx Survial, may useful for some Semi-Vanilla Server

WolfxPaper A Paper fork designed for Wolfx Survial, may useful for some "Semi-Va

TenkyuChimata 1 Jan 19, 2022
Andorid app which provides a bunch of useful Linux commands.

Linux Command Library for Android The app currently has 3203 manual pages, 1351 one-line scripts and a bunch of general terminal tips. It works 100% o

Simon Schubert 276 Dec 31, 2022
Provides Kotlin libs and some features for building Kotlin plugins

Kotlin Plugin Provides Kotlin libs and some features for building awesome Kotlin plugins. Can be used instead of CreeperFace's KotlinLib (don't use to

null 3 Dec 24, 2021
:bouquet: An easy way to persist and run code block only as many times as necessary on Android.

Only ?? An easy way to persist and run code block only as many times as necessary on Android. Download Gradle Add below codes to your root build.gradl

Jaewoong Eum 479 Dec 25, 2022
:bouquet: An easy way to persist and run code block only as many times as necessary on Android.

Only ?? An easy way to persist and run code block only as many times as necessary on Android. Download Gradle Add below codes to your root build.gradl

Jaewoong Eum 468 Apr 14, 2021
Muhammad Bilal 0 Jan 6, 2022
ListUtil.kt ListUtils - Advance list functions from kotlin standard library

ListUtils - Advance list functions from kotlin standard library A set of utility functions to work with lists in a robust way. It is based on a patter

Zain Ul Hassan 1 May 6, 2022
Kotlin/JVM compensated summation of Double sequences to calculate sum, mean, standard deviation

precise Implements compensated summation for sequences of Double. Reduces rounding errors associated with limited precision of floating-point numbers.

Artёm IG 0 Apr 20, 2022