Android
Android Module Module
Android 100% Kotlin ARouter Android JetPack + Kotlin MVVM ( DataBinding + ViewModel + Lifecycle )
APP APP | |
APP | APK |
lib_XXX | |
module_XXX | APP Main |
core | core UI core Library ( ) |
- component |
- core |
- libs | Library clone
Core Module Dev ( module ) module ( core libs )
- core |
- core | ( core libs, module )
- core_base_lib | ( libs )
- libs | , lib
- lib_base | ( ActivityApplication )
- lib_bean | ( module )
- lib_channel_flavors | App
- lib_config |
- lib_debug_assist | Debug ( )
- lib_engine | Engine ( JSON ) lib
- lib_environment |
- lib_network | lib ( )
- lib_property | lib
- lib_receiver | ( )
- lib_router |
- lib_ui | stylewidgetui
- lib_upload |
- lib_utils |
- lib_web | WebView
clone
- libs |
- lib_circle_igview | clone CircleImageView ( )
- application |
- app | ( APP )
- module | ( ) ( )
Module isModular=true
false
( )
- module |
- module_main | Module
- module_splash | ( ) Module
- module_template | Module ( copy )
- module_user | Module
- module_wanandroid | Android Module
core
lib_engine Engine ( JSON )
Android
Android Studio gradle gradle application apk library aar Gradle
// ( true = , false = )
isModular = false
def isModular = isModular.toBoolean()
if (isModular) { //
apply from: rootProject.file(files.build_application_gradle)
} else { // , module library
apply from: rootProject.file(files.build_library_module_gradle)
}
versions.gradle core
modular.gradle Module
core MavenCentral Links - Maven Maven aar
AndroidX Android
Android Jetpack Android Jetpack
Navigation Android Fragment
Kotlin Kotlin
Kotlin Coroutines Kotlin
RxKotlin RxJava Kotlin
RxAndroid RxJava Android
AutoDispose RxJava Android
OkHttp3 Http
Retrofit2 Type-safe HTTP client for Android and Java.
Gson Json
MMKV key-value
LiveEventBus Android LiveData
Dev Android UI
UeTool UI
Copyright 2022 afkT
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.