There are no dependencies for this project. It is a standalone project that does not depend on any other jars.
There are no modules declared in this project.
            
                            
                        代码托管
 
 
  
 
 
使用
 
 
 - 因为使用了jdk8的一些特性,需要在module的build.gradle里添加如下配置:
//纯java的项目
android {
	compileOptions {
		sourceCompatibility JavaVersion.VERSION_1_8
		targetCompatibility JavaVersion.VERSION_1_8
	}
}
//有kotlin的项目还需要在project的build.gradle里添加
allprojects {
    tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
        sourceCompatibility = JavaVersion.VERSION_1_8
        targetCompatibility = JavaVersion.VERSION_1_8
        kotlinOptions {
            jvmTarget = '1.8'
            apiVersion = '1.3'
            languageVersion = '1.3'
        }
    }
}
 
 
 - module的build.gradle中的添加依赖,自行修改为最新版本,需要哪个就依赖哪个,同步后通常就可以用了:
dependencies {
	...
	implementation 'cn.wandersnail:common-full:latestVersion'
}
 
 
 - 如果从jcenter下载失败。在project的build.gradle里的repositories添加内容,最好两个都加上,添加完再次同步即可。
allprojects {
	repositories {
		...
		mavenCentral()
		maven { url 'https://dl.bintray.com/wandersnail/androidx/' }
	}
}
 
按需要依赖单个库
 
 
 
 - https://github.com/wandersnail/commons-basic
- https://github.com/wandersnail/commons-observer
- https://github.com/wandersnail/commons-poster
- https://github.com/wandersnail/commons-utils
- https://github.com/wandersnail/commons-helper
功能
 
 
 - SharedPreferences、Log、UI、图片、数学、文件操作、加密、网络、日期、数据库等工具类
- wifi、Toast、zip、存储帮助类
- 一些基类