From 40e57a27ac547b2993df0374b8d84aeb88b808cc Mon Sep 17 00:00:00 2001 From: Carlos Martinez Date: Thu, 6 Feb 2020 11:45:53 -0300 Subject: [PATCH] create testing module --- albumlist/build.gradle | 2 ++ app/build.gradle | 2 ++ photolist/build.gradle | 2 ++ settings.gradle | 2 +- testing/.gitignore | 1 + testing/build.gradle | 6 ++++++ testing/consumer-rules.pro | 0 testing/proguard-rules.pro | 21 +++++++++++++++++++++ testing/src/main/AndroidManifest.xml | 2 ++ testing/src/main/res/values/strings.xml | 3 +++ userlist/build.gradle | 2 ++ 11 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 testing/.gitignore create mode 100644 testing/build.gradle create mode 100644 testing/consumer-rules.pro create mode 100644 testing/proguard-rules.pro create mode 100644 testing/src/main/AndroidManifest.xml create mode 100644 testing/src/main/res/values/strings.xml diff --git a/albumlist/build.gradle b/albumlist/build.gradle index d51b157..e59dcbe 100644 --- a/albumlist/build.gradle +++ b/albumlist/build.gradle @@ -3,4 +3,6 @@ apply from: '../core.gradle' dependencies { implementation project(':base') + testImplementation project(':testing') + androidTestImplementation project(':testing') } \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index feaac15..3d4fc2f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -51,4 +51,6 @@ dependencies { implementation project(":userlist") implementation project(":albumlist") implementation project(":photolist") + testImplementation project(':testing') + androidTestImplementation project(':testing') } diff --git a/photolist/build.gradle b/photolist/build.gradle index d51b157..e59dcbe 100644 --- a/photolist/build.gradle +++ b/photolist/build.gradle @@ -3,4 +3,6 @@ apply from: '../core.gradle' dependencies { implementation project(':base') + testImplementation project(':testing') + androidTestImplementation project(':testing') } \ No newline at end of file diff --git a/settings.gradle b/settings.gradle index 469cf91..e43c830 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,2 @@ -include ':app', ':base', ':userlist', ':albumlist', ':photolist' +include ':app', ':base', ':userlist', ':albumlist', ':photolist', ':testing' rootProject.name='Friendlists' diff --git a/testing/.gitignore b/testing/.gitignore new file mode 100644 index 0000000..796b96d --- /dev/null +++ b/testing/.gitignore @@ -0,0 +1 @@ +/build diff --git a/testing/build.gradle b/testing/build.gradle new file mode 100644 index 0000000..d51b157 --- /dev/null +++ b/testing/build.gradle @@ -0,0 +1,6 @@ +apply plugin: 'com.android.library' +apply from: '../core.gradle' + +dependencies { + implementation project(':base') +} \ No newline at end of file diff --git a/testing/consumer-rules.pro b/testing/consumer-rules.pro new file mode 100644 index 0000000..e69de29 diff --git a/testing/proguard-rules.pro b/testing/proguard-rules.pro new file mode 100644 index 0000000..f1b4245 --- /dev/null +++ b/testing/proguard-rules.pro @@ -0,0 +1,21 @@ +# Add project specific ProGuard rules here. +# You can control the set of applied configuration files using the +# proguardFiles setting in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} + +# Uncomment this to preserve the line number information for +# debugging stack traces. +#-keepattributes SourceFile,LineNumberTable + +# If you keep the line number information, uncomment this to +# hide the original source file name. +#-renamesourcefileattribute SourceFile diff --git a/testing/src/main/AndroidManifest.xml b/testing/src/main/AndroidManifest.xml new file mode 100644 index 0000000..02de5b0 --- /dev/null +++ b/testing/src/main/AndroidManifest.xml @@ -0,0 +1,2 @@ + diff --git a/testing/src/main/res/values/strings.xml b/testing/src/main/res/values/strings.xml new file mode 100644 index 0000000..3a5fe33 --- /dev/null +++ b/testing/src/main/res/values/strings.xml @@ -0,0 +1,3 @@ + + testing + diff --git a/userlist/build.gradle b/userlist/build.gradle index 298aaa6..4bf1bc9 100644 --- a/userlist/build.gradle +++ b/userlist/build.gradle @@ -3,4 +3,6 @@ apply from: '../core.gradle' dependencies { implementation project(':base') + testImplementation project(':testing') + androidTestImplementation project(':testing') }