Migrated to newer gradle version.

This commit is contained in:
Alexander Zolotarev 2017-01-03 10:02:17 -08:00
parent 9c430637e0
commit 8795368ecd
2 changed files with 4 additions and 8 deletions

View file

@ -1,6 +1,6 @@
buildscript {
repositories { mavenCentral() }
dependencies { classpath 'com.android.tools.build:gradle:1.3.1' }
dependencies { classpath 'com.android.tools.build:gradle:2.2.3' }
}
apply plugin: 'com.android.application'
@ -56,6 +56,7 @@ android {
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
jniLibs.srcDir 'native-libs'
}
}
}
@ -101,8 +102,3 @@ tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn copyNativeLib
clean.dependsOn 'cleanCopyNativeLibs'
clean.dependsOn 'ndkBuildClean'
tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->
pkgTask.jniFolders = new HashSet<File>()
pkgTask.jniFolders.add(new File(buildDir, 'native-libs'))
}

View file

@ -1,6 +1,6 @@
#Sat Dec 05 11:21:19 MSK 2015
#Tue Jan 03 09:56:25 PST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip