From aaedf98c7c2eb9381c704367e040471cb2e9d094 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 25 Jul 2017 12:14:46 -0700 Subject: Update dependencies and icons (#14) * Use kotlin color for sample * Add play store button * Update icon * Update build tools --- core/build.gradle | 5 ----- .../kprefs/library/ExampleInstrumentedTest.java | 26 ---------------------- 2 files changed, 31 deletions(-) delete mode 100644 core/src/androidTest/java/ca/allanwang/kprefs/library/ExampleInstrumentedTest.java (limited to 'core') diff --git a/core/build.gradle b/core/build.gradle index af36d80..ee413ba 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -4,21 +4,16 @@ apply from: '../android-lib.gradle' dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) - androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { - exclude group: 'com.android.support', module: 'support-annotations' - }) testCompile 'junit:junit:4.12' compile "org.jetbrains.kotlin:kotlin-stdlib:${KOTLIN}" testCompile "org.jetbrains.kotlin:kotlin-test-junit:${KOTLIN}" compile "com.android.support:appcompat-v7:${ANDROID_SUPPORT_LIBS}" - compile "com.android.support:support-v4:${ANDROID_SUPPORT_LIBS}" compile "com.android.support:support-v13:${ANDROID_SUPPORT_LIBS}" compile "com.android.support:design:${ANDROID_SUPPORT_LIBS}" compile "com.android.support:recyclerview-v7:${ANDROID_SUPPORT_LIBS}" compile "com.android.support:cardview-v7:${ANDROID_SUPPORT_LIBS}" - compile "com.android.support:animated-vector-drawable:${ANDROID_SUPPORT_LIBS}" compile "com.android.support.constraint:constraint-layout:${CONSTRAINT_LAYOUT}" compile "com.mikepenz:iconics-core:${ICONICS}@aar" diff --git a/core/src/androidTest/java/ca/allanwang/kprefs/library/ExampleInstrumentedTest.java b/core/src/androidTest/java/ca/allanwang/kprefs/library/ExampleInstrumentedTest.java deleted file mode 100644 index 6d80338..0000000 --- a/core/src/androidTest/java/ca/allanwang/kprefs/library/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package ca.allanwang.kprefs.library; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.test.runner.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.assertEquals; - -/** - * Instrumentation test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("ca.allanwang.kprefs.library.test", appContext.getPackageName()); - } -} -- cgit v1.2.3