Skip to content

Instantly share code, notes, and snippets.

@badboy
Created October 11, 2019 08:07
Show Gist options
  • Save badboy/8301e0a7a565238431870dd24ff56f62 to your computer and use it in GitHub Desktop.
Save badboy/8301e0a7a565238431870dd24ff56f62 to your computer and use it in GitHub Desktop.
diff --git build.gradle build.gradle
index dd77e6b47..4f8e9661a 100644
--- build.gradle
+++ build.gradle
@@ -26,6 +26,7 @@ allprojects {
repositories {
google()
jcenter()
+ mavenLocal()
maven {
url "https://maven.mozilla.org/maven2"
diff --git components/lib/crash/build.gradle components/lib/crash/build.gradle
index 54f45f74b..9e0bddcbc 100644
--- components/lib/crash/build.gradle
+++ components/lib/crash/build.gradle
@@ -55,6 +55,8 @@ dependencies {
testImplementation Dependencies.testing_mockito
testImplementation Dependencies.testing_coroutines
testImplementation Dependencies.testing_mockwebserver
+
+ testImplementation "org.mozilla.telemetry:glean-forUnitTests:0.0.1-TESTING5"
}
ext.gleanGenerateMarkdownDocs = true
diff --git components/service/glean/build.gradle components/service/glean/build.gradle
index 5c6a22ac1..4e430f0b0 100644
--- components/service/glean/build.gradle
+++ components/service/glean/build.gradle
@@ -44,8 +44,7 @@ dependencies {
implementation Dependencies.androidx_lifecycle_extensions
implementation Dependencies.androidx_work_runtime
- //api "org.mozilla.telemetry.glean:glean-0.0.1TESTING37"
- api files('glean_test_lib/glean-0.0.1-TESTING3.aar')
+ api "org.mozilla.telemetry:glean:0.0.1-TESTING5"
implementation project(':support-ktx')
implementation project(':support-base')
@@ -64,11 +63,8 @@ dependencies {
testImplementation project(':support-test')
testImplementation project(':lib-fetch-okhttp')
- jnaForTest Dependencies.thirdparty_jna
- testImplementation files(configurations.jnaForTest.copyRecursive().files)
-
- testImplementation files('glean_test_lib/glean-0.0.1-TESTING3.aar')
- testImplementation files('glean_test_lib/glean-forUnitTests-0.0.1-TESTING3.jar')
+ testImplementation "org.mozilla.telemetry:glean:0.0.1-TESTING5"
+ testImplementation "org.mozilla.telemetry:glean-forUnitTests:0.0.1-TESTING5"
}
apply from: '../../../publish.gradle'
diff --git components/service/glean/glean_test_lib/glean-0.0.1-TESTING3-sources.jar components/service/glean/glean_test_lib/glean-0.0.1-TESTING3-sources.jar
deleted file mode 100644
index 3a79233ff..000000000
Binary files components/service/glean/glean_test_lib/glean-0.0.1-TESTING3-sources.jar and /dev/null differ
diff --git components/service/glean/glean_test_lib/glean-0.0.1-TESTING3.aar components/service/glean/glean_test_lib/glean-0.0.1-TESTING3.aar
deleted file mode 100644
index c4fb9f505..000000000
Binary files components/service/glean/glean_test_lib/glean-0.0.1-TESTING3.aar and /dev/null differ
diff --git components/service/glean/glean_test_lib/glean-forUnitTests-0.0.1-TESTING3.jar components/service/glean/glean_test_lib/glean-forUnitTests-0.0.1-TESTING3.jar
deleted file mode 100644
index f4a8b32bc..000000000
Binary files components/service/glean/glean_test_lib/glean-forUnitTests-0.0.1-TESTING3.jar and /dev/null differ
diff --git components/support/sync-telemetry/build.gradle components/support/sync-telemetry/build.gradle
index ff09c6e68..3dbf40fd0 100644
--- components/support/sync-telemetry/build.gradle
+++ components/support/sync-telemetry/build.gradle
@@ -41,6 +41,8 @@ dependencies {
testImplementation Dependencies.androidx_work_testing
testImplementation Dependencies.testing_mockito
+
+ testImplementation "org.mozilla.telemetry:glean-forUnitTests:0.0.1-TESTING5"
}
apply from: '../../../publish.gradle'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment