This repository has been archived by the owner on Aug 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 417
/
build.gradle
95 lines (86 loc) · 2.63 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
buildscript {
ext.versions = [
'minSdk': 14,
'compileSdk': 27,
'kotlin': '1.1.60',
'lint': '26.0.1'
]
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
}
}
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
group = GROUP
version = VERSION_NAME
}
ext {
// Android dependencies.
supportV4 = 'com.android.support:support-v4:27.0.0'
supportAnnotations = 'com.android.support:support-annotations:27.0.0'
supportTestRunner = 'com.android.support.test:runner:0.5'
supportSqlite = 'android.arch.persistence:db:1.0.0'
supportSqliteFramework = 'android.arch.persistence:db-framework:1.0.0'
// Third-party dependencies.
kotlinStdLib = "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
dagger = 'com.google.dagger:dagger:2.13'
daggerCompiler = 'com.google.dagger:dagger-compiler:2.13'
butterKnifeRuntime = 'com.jakewharton:butterknife:8.8.1'
butterKnifeCompiler = 'com.jakewharton:butterknife-compiler:8.8.1'
timber = 'com.jakewharton.timber:timber:4.6.0'
autoValue = 'com.google.auto.value:auto-value:1.5'
autoValueParcel = 'com.ryanharter.auto.value:auto-value-parcel:0.2.5'
rxJava = 'io.reactivex.rxjava2:rxjava:2.1.3'
rxAndroid = 'io.reactivex.rxjava2:rxandroid:2.0.1'
rxBinding = 'com.jakewharton.rxbinding2:rxbinding:2.0.0'
junit = 'junit:junit:4.12'
truth = 'com.google.truth:truth:0.36'
// Lint dependencies.
lintApi = "com.android.tools.lint:lint-api:${versions.lint}"
lint = "com.android.tools.lint:lint:${versions.lint}"
lintTests = "com.android.tools.lint:lint-tests:${versions.lint}"
}
configurations {
osstrich
}
dependencies {
osstrich 'com.squareup.osstrich:osstrich:1.2.0'
}
task publishV1Javadoc(type: JavaExec) {
classpath = configurations.osstrich
main = 'com.squareup.osstrich.JavadocPublisher'
args = [
'build/javadoc',
'https://github.com/square/sqlbrite',
'com.squareup.sqlbrite'
]
}
task publishV2Javadoc(type: JavaExec) {
classpath = configurations.osstrich
main = 'com.squareup.osstrich.JavadocPublisher'
args = [
'build/javadoc',
'https://github.com/square/sqlbrite',
'com.squareup.sqlbrite2'
]
}
task publishV3Javadoc(type: JavaExec) {
classpath = configurations.osstrich
main = 'com.squareup.osstrich.JavadocPublisher'
args = [
'build/javadoc',
'https://github.com/square/sqlbrite',
'com.squareup.sqlbrite3'
]
}
task publishJavadoc(dependsOn: [publishV1Javadoc, publishV2Javadoc, publishV3Javadoc])