6 classpath 'com.android.tools.build:gradle:1.5.0'
10 apply plugin: 'com.android.application'
22 compile name: 'touch-image-view'
23 compile project(':owncloud-android-library')
24 compile 'com.android.support:support-v4:23.1.1'
25 compile 'com.jakewharton:disklrucache:2.0.2'
26 compile 'com.android.support:appcompat-v7:23.1.1'
27 compile 'com.getbase:floatingactionbutton:1.10.1'
32 buildToolsVersion "23.0.2"
33 // as long as ownCloud uses Apache HTTP
34 // http://developer.android.com/about/versions/marshmallow/android-6.0-changes.html#behavior-apache-http-client
35 useLibrary 'org.apache.http.legacy'
38 applicationId "com.owncloud.android.beta"
40 versionName "ownCloud beta"
45 manifest.srcFile 'AndroidManifest.xml'
46 java.srcDirs = ['src']
47 resources.srcDirs = ['src']
48 aidl.srcDirs = ['src']
49 renderscript.srcDirs = ['src']
51 assets.srcDirs = ['res']
54 // Move the tests to tests/java, tests/res, etc...
55 instrumentTest.setRoot('tests')
57 // Move the build types to build-types/<type>
58 // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
59 // This moves them out of them default location under src/<type>/... which would
60 // conflict with src/ being used by the main source set.
61 // Adding new build types or product flavors should be accompanied
62 // by a similar customization.
63 debug.setRoot('build-types/debug')
64 release.setRoot('build-types/release')
77 exclude 'META-INF/LICENSE.txt'
82 storeFile file(RELEASE_STORE_FILE)
83 storePassword RELEASE_STORE_PASSWORD
84 keyAlias RELEASE_KEY_ALIAS
85 keyPassword RELEASE_KEY_PASSWORD
91 signingConfig signingConfigs.release