Browse Source

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

yanyi 3 years ago
parent
commit
ec7ba4d4e7
5 changed files with 18 additions and 17 deletions
  1. 4 3
      README.md
  2. 6 6
      app/build.gradle
  3. 3 3
      build.gradle
  4. 1 1
      gradle/wrapper/gradle-wrapper.properties
  5. 4 4
      viewbind/build.gradle

+ 4 - 3
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:BindView:1.0.9'
+implementation 'com.yanyi.benyanyi:BindView:1.1.0'
 ~~~
 
 或者
@@ -20,7 +20,7 @@ implementation 'com.yanyi.benyanyi:BindView:1.0.9'
 <dependency>
   <groupId>com.yanyi.benyanyi</groupId>
   <artifactId>BindView</artifactId>
-  <version>1.0.8</version>
+  <version>1.1.0</version>
   <type>aar</type>
 </dependency>
 ~~~
@@ -56,6 +56,7 @@ isCheckNet 点击事件网络监听,默认为false,点击事件时不判断
 netErrorMsg 网络状态报错提醒,isCheckNet为关闭状态时无反应,默认为“网络错误”,可以自己自定义提醒的值
  ~~~
 ### 更新记录
+* 2021-08-27 更新1.1.0版本,升级gradle版本,修改maven版本
 * 2020-06-13 更新1.0.9版本,添加空id判断
 * 2020-05-18 更新1.0.8版本,将android support转成androidx支持,并将Maven库存放到个人服务器上
 * 2020-05-07 更新1.0.7版本,添加在自定义dialog中使用注解

+ 6 - 6
app/build.gradle

@@ -24,11 +24,11 @@ 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 project(':viewbind')
-    implementation 'com.yanyi.benyanyi:viewbind:1.0.7'
+    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(':viewbind')
+//    implementation 'com.yanyi.benyanyi:viewbind:1.0.7'
 }
 

+ 3 - 3
build.gradle

@@ -5,10 +5,10 @@ buildscript {
     repositories {
         google()
         jcenter()
-        maven{ url 'http://maven.yanyi.online:8081/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.8.3'
         
@@ -22,7 +22,7 @@ allprojects {
     repositories {
         google()
         jcenter()
-        maven{ url 'http://maven.yanyi.online:8081/nexus/content/repositories/mylove/'}
+        maven{ url 'http://maven.keleyanyi.com/repository/benyanyi/'}
         //解决中文乱码问题
         tasks.withType(Javadoc) { //兼容中文
             options.addStringOption('Xdoclint:none', '-quiet')

+ 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.6-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists

+ 4 - 4
viewbind/build.gradle

@@ -28,9 +28,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'