forked from dropbox/dropbox-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
30 lines (23 loc) · 697 Bytes
/
Copy pathbuild.gradle
File metadata and controls
30 lines (23 loc) · 697 Bytes
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
plugins {
id("java")
id("com.dropbox.dependency-guard")
}
dependencyGuard {
configuration("compileClasspath")
configuration("runtimeClasspath")
}
description = 'Java Examples'
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
dependencies {
implementation(project(":dropbox-sdk-java"))
testImplementation(dropboxJavaSdkLibs.test.junit)
}
test {
// Uses the "ci" gradle property and sets it as an environment variable for the test
environment("ci", project.findProperty("ci"))
// Ensure that tests are always run because integration tests are non-deterministic
outputs.upToDateWhen { false }
}