forked from firebase/firebase-android-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
89 lines (77 loc) · 2.64 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
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
plugins {
id 'java-gradle-plugin'
id 'groovy'
}
repositories {
maven {
url 'https://maven.google.com/'
}
jcenter()
mavenCentral()
maven {
url 'https://storage.googleapis.com/android-ci/mvn/'
}
}
sourceSets {
main {
java {
srcDir '../third_party/jsoup/src/main/java'
}
}
}
dependencies {
implementation 'org.jsoup:jsoup:1.11.2'
implementation 'digital.wup:android-maven-publish:3.6.2'
implementation 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.20'
implementation 'org.json:json:20180813'
implementation 'io.opencensus:opencensus-api:0.18.0'
implementation 'io.opencensus:opencensus-exporter-stats-stackdriver:0.18.0'
runtime 'io.opencensus:opencensus-impl:0.18.0'
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
implementation 'org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.17-g008'
implementation 'com.android.tools.build:gradle:3.4.1'
testImplementation 'junit:junit:4.12'
testImplementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
testImplementation('org.spockframework:spock-core:1.1-groovy-2.4') {
exclude group: 'org.codehaus.groovy'
}
testImplementation 'commons-io:commons-io:2.6'
}
gradlePlugin {
plugins {
licensePlugin {
id = 'LicenseResolverPlugin'
implementationClass = 'com.google.firebase.gradle.plugins.license.LicenseResolverPlugin'
}
publishingPlugin {
id = 'PublishingPlugin'
implementationClass = 'com.google.firebase.gradle.plugins.publish.PublishingPlugin'
}
firebaseLibraryPlugin {
id = 'firebase-library'
implementationClass = 'com.google.firebase.gradle.plugins.FirebaseLibraryPlugin'
}
}
}
test {
testLogging {
// Make sure output from
// standard out or error is shown
// in Gradle output.
showStandardStreams = true
}
enabled = rootProject.properties.get('enablePluginTests', false).toBoolean()
}