浏览代码

升级gradle版本,修改maven地址,提交1.0.5版本

yanyi 4 年之前
父节点
当前提交
d879f88a2e
共有 6 个文件被更改,包括 17 次插入16 次删除
  1. 5 4
      README.md
  2. 4 4
      app/build.gradle
  3. 2 2
      build.gradle
  4. 1 1
      gradle/wrapper/gradle-wrapper.properties
  5. 1 1
      loglib/bintrayUpload.gradle
  6. 4 4
      loglib/build.gradle

+ 5 - 4
README.md

@@ -6,13 +6,13 @@
 ~~~
 repositories {
         maven {
-            url "http://maven.benyanyi.com:8081/nexus/content/repositories/mylove/"
+            url "http://maven.keleyanyi.com/repository/benyanyi/"
         }
     }
 ~~~
 ### module 下添加
 ~~~
-implementation 'com.yanyi.benyanyi:Logger:1.0.4'
+implementation 'com.yanyi.benyanyi:Logger:1.0.5'
 ~~~
 
 或者
@@ -20,15 +20,16 @@ implementation 'com.yanyi.benyanyi:Logger:1.0.4'
 <dependency>
   <groupId>com.yanyi.benyanyi</groupId>
   <artifactId>Logger</artifactId>
-  <version>1.0.4</version>
+  <version>1.0.5</version>
   <type>aar</type>
 </dependency>
 ~~~
 ### 参数介绍
 * JLog.init(boolean) 设置是否打印,默认debug版本apk打印,release版本apk不打印
 * JLog.fileType(FileType) 设置打印方式,默认FileType为FileType.JAVA,说明为java类打印
-    
+
 ## 更新
+* 2021-08-27 更新1.0.5,升级gradle版本,修改maven地址
 * 2020-05-18 更新1.0.4,修复kotlin调用打印方法只填msg时报错问题,将android support转成androidx支持,并将Maven库存放到个人服务器上
 * 2019-07-01 更新1.0.3,判断代码类型,添加kotlin类打印方式
 * 2019-06-13 更新1.0.2,优化代码,修改包名,统一开源库包名

+ 4 - 4
app/build.gradle

@@ -35,10 +35,10 @@ android {
 
 dependencies {
     implementation fileTree(include: ['*.jar'], dir: 'libs')
-    implementation 'androidx.appcompat:appcompat:1.0.0'
-    testImplementation 'junit:junit:4.12'
-    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
+    implementation 'androidx.appcompat:appcompat:1.2.0'
+    testImplementation 'junit:junit:4.13'
+    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
     implementation project(':loglib')
 }
 repositories {

+ 2 - 2
build.gradle

@@ -5,10 +5,10 @@ buildscript {
     repositories {
         google()
         jcenter()
-        maven { url 'http://maven.benyanyi.com/nexus/content/repositories/mylove/' }
+        maven { url 'http://maven.keleyanyi.com/repository/benyanyi/' }
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:3.2.1'
+        classpath 'com.android.tools.build:gradle:4.1.3'
         classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
 //        classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.2'
 

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

@@ -1,5 +1,5 @@
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-4.8.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists

+ 1 - 1
loglib/bintrayUpload.gradle

@@ -25,4 +25,4 @@ uploadArchives {
         }
     }
 }
-//gradlew bintrayUpload    terminal中输入
+//gradlew uploadArchives    terminal中输入

+ 4 - 4
loglib/build.gradle

@@ -27,9 +27,9 @@ android {
 dependencies {
     implementation fileTree(dir: 'libs', include: ['*.jar'])
 
-    implementation 'androidx.appcompat:appcompat:1.0.0'
-    testImplementation 'junit:junit:4.12'
-    androidTestImplementation 'androidx.test.ext:junit:1.1.1'
-    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
+    implementation 'androidx.appcompat:appcompat:1.2.0'
+    testImplementation 'junit:junit:4.13'
+    androidTestImplementation 'androidx.test.ext:junit:1.1.2'
+    androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
 }
 apply from: 'bintrayUpload.gradle'