-
Notifications
You must be signed in to change notification settings - Fork 36
/
build.gradle
56 lines (44 loc) · 1.22 KB
/
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
apply plugin: 'java'
apply plugin: 'war'
apply plugin: 'org.gretty'
ext {
CBL_VERSION = '3.2.0-SNAPSHOT'
EXT_VERSION = '1.0.0-18'
}
def USE_LOCAL_MAVEN = project.hasProperty("useLocalMaven")
buildscript {
repositories {
maven { url "https://plugins.gradle.org/m2/" }
mavenCentral()
}
dependencies { classpath 'org.gretty:gretty:4.0.3' }
}
group 'com.couchbase.gettingstarted'
version '3.1.0'
java {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
repositories {
if (USE_LOCAL_MAVEN) {
mavenLocal()
maven { url "https://proget.sc.couchbase.com/maven2/internalmaven/" }
}
else {
maven { url "https://mobile.maven.couchbase.com/maven2/dev/" }
}
mavenCentral()
google()
}
dependencies {
compileOnly 'androidx.annotation:annotation:1.5.0'
compileOnly "javax.servlet:javax.servlet-api:4.0.1"
implementation "com.couchbase.lite:couchbase-lite-java-ee-macos:${CBL_VERSION}"
// Add this line if using Vector Search
implementation "com.couchbase.lite:couchbase-lite-java-vector-search:${EXT_VERSION}"
}
gretty {
contextPath = '/'
//consoleLogEnabled = true
fileLogEnabled = true
}