1 Star 0 Fork 0

licheedev / SomeLibrary

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

SomeLibrary

allprojects {
  repositories {
    ...
    mavenCentral()
  }
}


// 包含base、utils、clickablebg、rxjava2ex、rxjava3ex、widgets
implementation("com.licheedev:some-commonlibrary:1.0.19") {
    // 根据需要,排除掉不需要的rxjava版本,可以两个同时排除掉
    exclude group: 'com.licheedev', module: 'some-rxjava2ex'
    exclude group: 'com.licheedev', module: 'some-rxjava3ex'
}
// 其他组件
implementation 'com.licheedev:some-clickablebg:1.0.0'
implementation 'com.licheedev:some-context:1.0.0'
implementation 'com.licheedev:some-labelview:1.0.2'
implementation 'com.licheedev:some-modifieddialogfragment:1.0.1'
implementation 'com.licheedev:some-rateview:1.0.1'
implementation 'com.licheedev:some-rxjava2ex:1.0.1'
implementation 'com.licheedev:some-rxjava3ex:1.0.1'
implementation 'com.licheedev:some-widgets:1.0.6'

implementation 'com.licheedev:some-utils:1.0.5'
implementation 'com.licheedev:some-statuslayout:1.0.2'

implementation 'com.licheedev:some-base:1.0.14'

编译失败就加入:

android {
    ...
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
}

其他常用依赖

Jetpack

https://developer.android.google.cn/jetpack/androidx/explorer?hl=zh-cn

Lifecycle

https://developer.android.google.cn/jetpack/androidx/releases/lifecycle?hl=zh-cn#declaring_dependencies

数据绑定

https://developer.android.google.cn/topic/libraries/data-binding/start?hl=zh-cn

android {
        ...
        dataBinding {
            enabled = true
        }
    }

Glide

https://github.com/bumptech/glide

implementation 'com.github.bumptech.glide:glide:4.11.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'

LogPlus

https://github.com/licheedev/LogPlus

implementation 'com.licheedev:logplus:1.0.0'

ByteUtils、SystemClockEx等

https://github.com/licheedev/HardwareUtils

implementation 'com.licheedev:hardwareutils:1.0.0'

一些kotlin和jetpack等相关工具类

https://gitee.com/licheedev/some-ext

RxHttp扩展

https://gitee.com/licheedev/rx-http-extension-demo

MIT License Copyright (c) 2022 licheedev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

简单的Android项目公共库封装 展开 收起
Java 等 2 种语言
MIT
取消

发行版 (1)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/licheedev/SomeLibrary.git
git@gitee.com:licheedev/SomeLibrary.git
licheedev
SomeLibrary
SomeLibrary
master

搜索帮助