File tree 4 files changed +4
-28
lines changed
4 files changed +4
-28
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ buildscript {
6
6
classpath ' com.android.tools.build:gradle:0.8.+'
7
7
}
8
8
}
9
- apply plugin : ' android-library '
9
+ apply plugin : ' java '
10
10
apply plugin : ' maven'
11
11
apply plugin : ' eclipse'
12
12
@@ -20,20 +20,6 @@ repositories {
20
20
apply from : ' dependencies-test.gradle' // <- enable this when testing
21
21
22
22
23
- android {
24
- compileSdkVersion 19
25
- buildToolsVersion " 19.0.0"
26
-
27
- defaultConfig {
28
- minSdkVersion 9
29
- targetSdkVersion 19
30
- }
31
-
32
- lintOptions {
33
- abortOnError false
34
- }
35
- }
36
-
37
23
task createMavenDirectory (type : Exec ) {
38
24
39
25
ext {
@@ -72,11 +58,3 @@ uploadArchives {
72
58
}
73
59
}
74
60
75
- task sourcesJar (type : Jar ) {
76
- classifier = ' sources'
77
- from android. sourceSets. main. java. srcDirs
78
- }
79
-
80
- task generateJavadocs (type : Javadoc ) {
81
- source = android. sourceSets. main. java. srcDirs
82
- }
Original file line number Diff line number Diff line change 1
1
dependencies {
2
2
3
- compile ' com.android.support:support-v4:13.0.+'
4
3
5
4
// the cblite core library dependency is included as a maven archive because when declaring
6
5
// as a "compile project" dependency any projects that include this library will get errors.
Original file line number Diff line number Diff line change 1
1
dependencies {
2
2
3
- compile ' com.android.support:support-v4:13.0.+'
4
-
5
- compile project(' :CBLite' )
3
+ compile project(' :libraries:couchbase-lite-java-core' )
6
4
7
5
// as discovered by trial and error, the build will fail if "compile" is
8
6
// used: Error: duplicate files during packaging of APK. I guess it is
9
7
// being implicitly included by being in the libs folder, and then "double included"
10
8
// because of a "compile" directive to explicitly include the jar.
11
- instrumentTestCompile fileTree(dir : ' libs' , include : ' td_collator_so.jar' )
9
+ testCompile fileTree(dir : ' libs' , include : ' td_collator_so.jar' )
12
10
13
11
compile ' org.mozilla:rhino:1.7R3'
14
12
Original file line number Diff line number Diff line change
1
+ include ' :couchbase-lite-java-javascript' , ' :libraries:couchbase-lite-java-core'
You can’t perform that action at this time.
0 commit comments