提交 3d6440ba 编写于 作者: G guoshuyu

update gradle to 4.1

上级 6a120568
apply plugin: 'com.android.application'
apply plugin: 'com.neenbedankt.android-apt'
android {
......@@ -16,7 +16,9 @@ android {
versionCode 3
versionName "1.4.9"
javaCompileOptions {
annotationProcessorOptions.includeCompileClasspath = true
}
ndk {
//设置支持的SO库架构
abiFilters 'armeabi', 'armeabi-v7a', 'x86'
......@@ -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
......
......@@ -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'
......
......@@ -6,7 +6,7 @@ allprojects {
ext {
//Android
androidBuildToolsVersion = "25.0.0"
androidBuildToolsVersion = "26.0.2"
androidMinSdkVersion = 16
androidTargetSdkVersion = 22
androidCompileSdkVersion = 22
......
#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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册