Browse Source

- 冗余依赖

drake 5 years ago
parent
commit
e07493b4aa
2 changed files with 2 additions and 3 deletions
  1. 1 1
      README.md
  2. 1 2
      net/build.gradle

+ 1 - 1
README.md

@@ -54,7 +54,7 @@ allprojects {
 module of build.gradle
 
 ```groovy
-implementation 'com.github.liangjingkanji:Net:1.1.1'
+implementation 'com.github.liangjingkanji:Net:1.1.2'
 ```
 
 

+ 1 - 2
net/build.gradle

@@ -33,8 +33,6 @@ android {
 dependencies {
     implementation fileTree(dir: 'libs', include: ['*.jar'])
     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
-    implementation 'androidx.appcompat:appcompat:1.1.0'
-    implementation 'androidx.core:core-ktx:1.1.0'
     testImplementation 'junit:junit:4.12'
     androidTestImplementation 'androidx.test:runner:1.2.0'
     androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
@@ -43,6 +41,7 @@ dependencies {
     api 'com.squareup.moshi:moshi-kotlin:1.8.0'
     kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.8.0'
 
+    compileOnly 'androidx.appcompat:appcompat:1.1.0'
     compileOnly 'com.github.liangjingkanji:BRV:1.0.5'
     compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.1'