Hans-Christoph Steiner 1f8330fd06 use gradle android plugin v2.2.2
Starting with v2.2.2, it zeroes out timestamps in the APK's ZIP header
https://android-developers.googleblog.com/2016/11/understanding-apk-packaging-in-android-studio-2-2.html

This version is also the version that is included in Debian/stretch.
2017-05-01 23:46:13 +02:00

42 lines
825 B
Groovy

buildscript {
repositories {
mavenCentral()
}
dependencies {
// 2.2.2 is the version that is included in Debian/stretch
classpath 'com.android.tools.build:gradle:2.2.2'
}
}
apply plugin: 'android-library'
version = VERSION
group = GROUP
dependencies {
compile 'com.android.support:support-v4:19.0.+'
}
android {
compileSdkVersion 19
buildToolsVersion '25.0.2'
defaultConfig {
minSdkVersion 7
targetSdkVersion 19
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
}