Skip to content

Commit

Permalink
update gradle to 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CarGuoSmall committed Dec 20, 2017
1 parent 6a12056 commit 3d6440b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
8 changes: 5 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'


android {

Expand All @@ -16,7 +16,9 @@ android {
versionCode 3
versionName "1.4.9"


javaCompileOptions {
annotationProcessorOptions.includeCompileClasspath = true
}
ndk {
//设置支持的SO库架构
abiFilters 'armeabi', 'armeabi-v7a', 'x86'
Expand Down Expand Up @@ -49,7 +51,7 @@ dependencies {
def viewDependencies = rootProject.ext.viewDependencies
def androidDependencies = rootProject.ext.androidDependencies
def dataDependencies = rootProject.ext.dataDependencies
apt viewDependencies.apt_butterKnife
annotationProcessor viewDependencies.apt_butterKnife
compile viewDependencies.butterKnife
compile androidDependencies.recyclerView
compile viewDependencies.DanmakuFlameMaster
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath 'com.android.tools.build:gradle:3.0.1'

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.6'
Expand Down
2 changes: 1 addition & 1 deletion dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ allprojects {

ext {
//Android
androidBuildToolsVersion = "25.0.0"
androidBuildToolsVersion = "26.0.2"
androidMinSdkVersion = 16
androidTargetSdkVersion = 22
androidCompileSdkVersion = 22
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Mon Dec 28 10:00:20 PST 2015
#Wed Dec 20 13:35:33 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 comments on commit 3d6440b

Please sign in to comment.