Skip to content

Commit 6791083

Browse files
committed
更新okhttp的版本
1 parent 43006cf commit 6791083

12 files changed

Lines changed: 603 additions & 120 deletions

File tree

0 Bytes
Binary file not shown.

.idea/caches/gradle_models.ser

-168 KB
Binary file not shown.

.idea/codeStyles/Project.xml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dbnavigator.xml

Lines changed: 456 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 1 addition & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 16 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ http请求基本上每一个app都会使用,进行好的封装提供Activity
1515
#### 1.依赖
1616
如果是android studio开发支持在线依赖:
1717
```
18-
compile 'com.ansen.http:okhttpencapsulation:1.0.1'
18+
compile 'com.ansen.http:okhttpencapsulation:1.0.5'
1919
```
2020

2121
如果是eclipse那你先把ide切换到android studio吧。。。不闲麻烦的话也可以把源码module的源码copy出来,反正也就几个类。

app/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 29
5-
buildToolsVersion "29.0.0"
5+
buildToolsVersion "29.0.3"
66

77
defaultConfig {
88
applicationId "com.ansen.okhttp.test"
9-
minSdkVersion 15
9+
minSdkVersion 19
1010
targetSdkVersion 29
1111
versionCode 1
1212
versionName "1.0"
@@ -29,5 +29,5 @@ dependencies {
2929
androidTestImplementation 'androidx.test:runner:1.2.0'
3030
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
3131
implementation project(':okhttpencapsulation')
32-
// implementation 'com.ansen.http:okhttpencapsulation:1.0.4'
32+
// implementation 'com.ansen.http:okhttpencapsulation:1.0.5'
3333
}

gradle.properties

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
# Project-wide Gradle settings.
2-
32
# IDE (e.g. Android Studio) users:
43
# Gradle settings configured through the IDE *will override*
54
# any settings specified in this file.
6-
75
# For more details on how to configure your build environment visit
86
# http://www.gradle.org/docs/current/userguide/build_environment.html
9-
107
# Specifies the JVM arguments used for the daemon process.
118
# The setting is particularly useful for tweaking memory settings.
129
org.gradle.jvmargs=-Xmx1536m
13-
1410
# When configured, Gradle will run in incubating parallel mode.
1511
# This option should only be used with decoupled projects. More details, visit
1612
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1713
# org.gradle.parallel=true
18-
14+
# AndroidX package structure to make it clearer which packages are bundled with the
15+
# Android operating system, and which are packaged with your app's APK
16+
# https://developer.android.com/topic/libraries/support-library/androidx-rn
1917
android.useAndroidX=true
2018
# Automatically convert third-party libraries to use AndroidX
21-
android.enableJetifier=true
19+
android.enableJetifier=true

0 commit comments

Comments
 (0)