yanyi 7 лет назад
Родитель
Сommit
fa4fb56eb3

+ 3 - 1
README.md

@@ -59,10 +59,12 @@ java底层封装(本着能使开发android项目更简单、方便原则进行
 * 2018/06/01更新 优化一些细节
 * 2018/06/10更新 变更开源库地址
 * 2018/07/04更新 添加自定义单选框(CheckBox)SmoothCheckBox
+* 2018/08/23更新 1.0.5去除时间选择器,将框架轻量化,添加轻量级存储工具类存储文件单独命名
 * ........
 
 <br/>
 若在使用过程中出现什么问题,可以联系作者<br/>
 作者:演绎<br/>
 QQ:1541612424<br/>
-email: work@yanyi.red
+email: work@yanyi.red<br/>
+微信公众号:benyanyi(演绎未来)&nbsp;&nbsp;&nbsp;将会不定期的更新android的一些文章

+ 2 - 2
androidjava/bintrayUpload.gradle

@@ -7,7 +7,7 @@ def siteUrl = 'https://github.com/BenYanYi/BaseJava' // 项目主页。
 def gitUrl = 'https://github.com/BenYanYi/BaseJava.git' // Git仓库的url。
 
 group = "com.yanyi.benyanyi"// 唯一包名,比如compile 'com.ansen.http:okhttpencapsulation:1.0.1'中的com.ansen.http就是这里配置的。
-version = "1.0.4"//项目引用的版本号,比如compile 'com.ansen.http:okhttpencapsulation:1.0.1'中的1.0.1就是这里配置的。
+version = "1.0.5"//项目引用的版本号,比如compile 'com.ansen.http:okhttpencapsulation:1.0.1'中的1.0.1就是这里配置的。
 install {
     repositories.mavenInstaller {
         // This generates POM.xml with proper parameters
@@ -15,7 +15,7 @@ install {
             project {
                 packaging 'aar'
                 // Add your description here
-                name 'android base'
+                name 'android development framework'
                 url siteUrl
                 // Set your license
                 licenses {

+ 7 - 8
androidjava/build.gradle

@@ -1,13 +1,13 @@
 apply plugin: 'com.android.library'
 
 android {
-    compileSdkVersion 27
+    compileSdkVersion 28
 
 
 
     defaultConfig {
         minSdkVersion 15
-        targetSdkVersion 27
+        targetSdkVersion 28
         versionCode 1
         versionName "1.0"
 
@@ -27,21 +27,20 @@ android {
 dependencies {
     implementation fileTree(dir: 'libs', include: ['*.jar'])
 
-    implementation 'com.android.support:appcompat-v7:27.1.1'
+    implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
     testImplementation 'junit:junit:4.12'
     androidTestImplementation 'com.android.support.test:runner:1.0.2'
     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
-    implementation 'com.jakewharton:butterknife:8.8.1'
-    annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
+    implementation 'com.jakewharton:butterknife:+'
+    annotationProcessor 'com.jakewharton:butterknife-compiler:+'
     api 'com.github.bumptech.glide:glide:+'
-    annotationProcessor 'com.github.bumptech.glide:compiler:4.3.1'
-    implementation 'com.android.support:recyclerview-v7:27.1.1'
+    annotationProcessor 'com.github.bumptech.glide:compiler:+'
+    implementation 'com.android.support:recyclerview-v7:28.0.0-rc01'
     api 'com.google.code.gson:gson:+'
     //okhttp
     api 'com.yanyi.benyanyi:okhttplib:1.0.1'
     //log
     api 'com.yanyi.benyanyi:loglib:1.0.0'
-    api 'com.yanyi.benyanyi:datelib:1.0.0'
     api 'com.yanyi.benyanyi:permissionlib:1.0.1'
     api 'com.readystatesoftware.systembartint:systembartint:1.0.3'
 }

+ 3 - 3
androidjava/src/main/java/com/mylove/baselib/utils/SharedUtil.java

@@ -24,11 +24,11 @@ public class SharedUtil {
     private static SharedUtil instance;
     private SharedPreferences sha;
     private SharedPreferences.Editor oEditor;
-    private String name = "share";
+    public static String name = "share";
     private Context mContext;
 
-    private SharedUtil(String name, Context context) {
-        this.name = name;
+    private SharedUtil(String shaName, Context context) {
+        name = shaName;
         this.mContext = context;
     }
 

+ 3 - 3
app/build.gradle

@@ -1,11 +1,11 @@
 apply plugin: 'com.android.application'
 
 android {
-    compileSdkVersion 27
+    compileSdkVersion 28
     defaultConfig {
         applicationId "com.mylove.basejava"
         minSdkVersion 15
-        targetSdkVersion 27
+        targetSdkVersion 28
         versionCode 1
         versionName "1.0"
         testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -20,7 +20,7 @@ android {
 
 dependencies {
     implementation fileTree(include: ['*.jar'], dir: 'libs')
-    implementation 'com.android.support:appcompat-v7:27.1.1'
+    implementation 'com.android.support:appcompat-v7:28.0.0-rc01'
     testImplementation 'junit:junit:4.12'
     androidTestImplementation 'com.android.support.test:runner:1.0.2'
     androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'

+ 1 - 1
build.gradle

@@ -7,7 +7,7 @@ buildscript {
         jcenter()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:3.1.2'
+        classpath 'com.android.tools.build:gradle:3.1.4'
         classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
         classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.2'
         classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'

+ 1 - 1
gradle/wrapper/gradle-wrapper.properties

@@ -1,4 +1,4 @@
-#Tue May 08 14:55:21 CST 2018
+#Wed Aug 22 14:55:49 IRKT 2018
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME