Skip to content

Commit

Permalink
AS升至3.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
crazysunj committed Oct 29, 2018
1 parent 34405c0 commit 1c2afd3
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,14 @@
* webview支持x5及常见用法,例如缓存、预加载、内存优化、增量更新、并行加载、下载等
* 兼容Android7.0,8.0
* 数据库采用greenDAO
* 支持ConstraintLayout
* 支持ConstraintLayout(约束布局,很好地解决层级问题,同时支持百分比)

尽量保持各种开源库最新状态,我踩坑,我骄傲!

尽量不使用第三方库,自己写!

当前版本采用AS3.2.1开发

有意见或者建议的同学可以联系我哦,持续更新,祝你生活愉快!

喜欢的朋友点个star关注一下我吧!
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.jakewharton:butterknife-gradle-plugin:8.4.0'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2'
}
}
Expand Down
7 changes: 3 additions & 4 deletions config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ ext {

android = [
compileSdkVersion: 28,
// buildToolsVersion: '27.0.3',
minSdkVersion : 21,
targetSdkVersion : 28,
versionCode : 11,
versionName : "1.8.0"
versionCode : 12,
versionName : "1.9.0"
]

dependVersion = [
Expand All @@ -16,7 +15,7 @@ ext {
rxandroid : "2.0.1",
rxjava : "2.1.3",
dagger2 : "2.6",
butterknife : "8.4.0",
butterknife : "8.8.1",
glide : "4.7.1",
glideTransformations : "3.3.0",
MTRVA : "2.3.1",
Expand Down
12 changes: 7 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# Project-wide Gradle settings.

# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.

# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html

# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand All @@ -21,5 +17,11 @@ org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=true
org.gradle.caching=true
android.enableAapt2=true
# as3.1以后可关闭
android.enableD8=true
android.enableAapt2=false
# .class是否遵循java7格式
android.enableD8.desugaring=true
# 新的混淆工具
android.enableR8=false
android.enableIncrementalDesugaring=true
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
1 change: 0 additions & 1 deletion presentation/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
apply plugin: 'com.android.application'
apply plugin: 'com.jakewharton.butterknife'

def configs = rootProject.ext.android //android配置
android {
Expand Down

0 comments on commit 1c2afd3

Please sign in to comment.