BuildSrc使用kotlin代码配置gradle内容

### 1. android{}对应的配置:
```gradle
android{

}
```
[https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/com/common/plugin/CommonAndroid.kt](https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/com/common/plugin/CommonAndroid.kt)

-----------------------------------------------------------------------------------------------

### 2. dependencies{}对应的配置:
```gradle
dependencies{

}
```
[https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/com/common/plugin/CommonDependencies.kt](https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/com/common/plugin/CommonDependencies.kt)

-----------------------------------------------------------------------------------------------

### 3. plugin对应的配置:
```gradle
plugin{

}
```
[https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/com/common/plugin/CommonPlugins.kt](https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/com/common/plugin/CommonPlugins.kt)

-----------------------------------------------------------------------------------------------

### 4. 依赖管理相关配置:
[https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/Dependencies.kt](https://github.com/panyy/mvvm-jetpack-sample/blob/master/buildSrc/src/main/java/Dependencies.kt)

-----------------------------------------------------------------------------------------------

上一篇:Seata分布式事务框架Sample


下一篇:数学笔记2:概率分布