From fad19ffee7ab331bffde96301634c60a61ec9c65 Mon Sep 17 00:00:00 2001 From: Gergely Hegedus Date: Tue, 12 Jul 2022 13:01:29 +0300 Subject: [PATCH] Issue#67 Test published dependencies --- app/build.gradle | 15 ++++++++++----- build.gradle | 8 ++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 85095b1..15a4ea3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -107,11 +107,16 @@ dependencies { androidTestImplementation project(':mockserver') testImplementation testFixtures(project(':core')) - testImplementation project(':test-util-junit5-android') +// testImplementation project(':test-util-junit5-android') + testImplementation "org.fnives.android.testutil:android-unit-junit5:1.0.0" androidTestImplementation testFixtures(project(':core')) - testImplementation project(':test-util-shared-robolectric') - androidTestImplementation project(':test-util-shared-android') - testImplementation project(':test-util-android') - androidTestImplementation project(':test-util-android') +// testImplementation project(':test-util-shared-robolectric') + testImplementation "org.fnives.android.testutil:shared-robolectric:1.0.0" +// androidTestImplementation project(':test-util-shared-android') + androidTestImplementation "org.fnives.android.testutil:shared-android:1.0.0" +// testImplementation project(':test-util-android') + testImplementation "org.fnives.android.testutil:android:1.0.0" +// androidTestImplementation project(':test-util-android') + androidTestImplementation "org.fnives.android.testutil:android:1.0.0" } diff --git a/build.gradle b/build.gradle index 0e88155..b40d313 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,14 @@ allprojects { repositories { mavenCentral() google() + maven { + url "https://maven.pkg.github.com/fknives/AndroidTest-ShowCase" + credentials { + username = project.findProperty("GITHUB_USERNAME") ?: System.getenv("GITHUB_USERNAME") + password = project.findProperty("GITHUB_TOKEN") ?: System.getenv("GITHUB_TOKEN") + } + // https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token + } } }