Filter only '/' character in user input when version of server is 8.1 or later
[pub/Android/ownCloud.git] / oc_jb_workaround / build.gradle
1 buildscript {
2 repositories {
3 mavenCentral()
4 }
5 dependencies {
6 classpath 'com.android.tools.build:gradle:0.13.0'
7 }
8 }
9 apply plugin: 'com.android.library'
10
11 dependencies {
12 compile fileTree(dir: 'libs', include: '*.jar')
13 }
14
15 android {
16 compileSdkVersion 19
17 buildToolsVersion "20.0.0"
18
19 sourceSets {
20 main {
21 manifest.srcFile 'AndroidManifest.xml'
22 java.srcDirs = ['src']
23 resources.srcDirs = ['src']
24 aidl.srcDirs = ['src']
25 renderscript.srcDirs = ['src']
26 res.srcDirs = ['res']
27 assets.srcDirs = ['assets']
28 }
29
30 // Move the tests to tests/java, tests/res, etc...
31 instrumentTest.setRoot('tests')
32
33 // Move the build types to build-types/<type>
34 // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
35 // This moves them out of them default location under src/<type>/... which would
36 // conflict with src/ being used by the main source set.
37 // Adding new build types or product flavors should be accompanied
38 // by a similar customization.
39 debug.setRoot('build-types/debug')
40 release.setRoot('build-types/release')
41 }
42 }