forked from couchbase/couchbase-lite-java-listener
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (32 loc) · 852 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
buildscript {
repositories {
maven { url 'http://repo1.maven.org/maven2' }
}
dependencies {
classpath 'com.android.tools.build:gradle:0.6.+'
}
}
apply plugin: 'android-library'
apply plugin: 'eclipse'
repositories {
maven { url 'http://files.couchbase.com/maven2/' }
mavenLocal()
mavenCentral()
}
// apply from: 'dependencies-archive.gradle' // <- enable this when building an .aar
apply from: 'dependencies-test.gradle' // <- enable this when testing
android {
compileSdkVersion 17
buildToolsVersion "17.0.0"
defaultConfig {
minSdkVersion 9
targetSdkVersion 16
}
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from android.sourceSets.main.java.srcDirs
}
task generateJavadocs(type: Javadoc) {
source = android.sourceSets.main.java.srcDirs
}