-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild-shared.gradle
39 lines (31 loc) · 1.08 KB
/
build-shared.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
// These properties are in their own file to ensure that they're kept in sync between the
// main Java build (build.gradle) and the Android CI build (build-android-ci.gradle).
allprojects {
group = 'com.launchdarkly'
version = "${version}"
archivesBaseName = "launchdarkly-logging"
sourceCompatibility = 1.8
targetCompatibility = 1.8
}
ext {
basePackage = "com.launchdarkly.logging"
baseName = "launchdarkly-logging"
}
ext.versions = [
"slf4j": "1.7.21"
]
ext.libraries = [:]
configurations {
// The dependencies in privateImplementation will not be exposed in pom.xml or our
// module file. See build.gradle and build-android.gradle for how this is used.
privateImplementation.extendsFrom implementation
}
dependencies {
privateImplementation "org.slf4j:slf4j-api:${versions.slf4j}"
testImplementation "org.hamcrest:hamcrest-library:1.3"
testImplementation "junit:junit:4.12"
testImplementation "uk.org.lidalia:slf4j-test:1.1.0"
testImplementation("com.launchdarkly:test-helpers:1.1.0") {
exclude group: "org.hamcrest"
}
}