Skip to content

Commit 574d5db

Browse files
Eric FrohnhoeferDalton Hubble
authored andcommitted
Bumped Android Gradle plugin to version 1.3
Change-Id: I285058d4850c04c27a91b82069b94d4eaccef4ef
1 parent e2e6ed6 commit 574d5db

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ buildscript {
2020
mavenCentral()
2121
}
2222
dependencies {
23-
classpath 'com.android.tools.build:gradle:1.2.3'
23+
classpath 'com.android.tools.build:gradle:1.3.0'
2424
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.0'
2525
}
2626
}

samples/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ buildscript {
2323

2424
dependencies {
2525
classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.0.3'
26-
classpath 'com.android.tools.build:gradle:1.2.3'
26+
classpath 'com.android.tools.build:gradle:1.3.0'
2727
classpath 'io.fabric.tools:gradle:1.19.0'
2828
}
2929
}

samples/app/internal-build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ buildscript {
2323

2424
dependencies {
2525
classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.0.3'
26-
classpath 'com.android.tools.build:gradle:1.2.3'
26+
classpath 'com.android.tools.build:gradle:1.3.0'
2727
classpath 'io.fabric.tools:gradle:1.19.0'
2828
}
2929
}

samples/app/src/androidTest/java/com/digits/sdk/android/PhoneNumberActivityThemeTests.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
package com.digits.sdk.android;
1919

20+
import android.annotation.SuppressLint;
21+
import android.annotation.TargetApi;
2022
import android.app.Activity;
2123
import android.content.Intent;
2224
import android.os.Build;
@@ -52,6 +54,7 @@ public void tearDown() throws Exception {
5254
}
5355

5456
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.LOLLIPOP)
57+
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
5558
public void testVerifyMaterialDarkTheme() {
5659
Digits.getInstance().setTheme(android.R.style.Theme_Material);
5760
final Activity activity = getActivity();
@@ -60,6 +63,7 @@ public void testVerifyMaterialDarkTheme() {
6063
}
6164

6265
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.LOLLIPOP)
66+
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
6367
public void testVerifyMaterialLightTheme() {
6468
Digits.getInstance().setTheme(android.R.style.Theme_Material_Light);
6569
final Activity activity = getActivity();
@@ -68,6 +72,7 @@ public void testVerifyMaterialLightTheme() {
6872
}
6973

7074
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.LOLLIPOP)
75+
@TargetApi(Build.VERSION_CODES.LOLLIPOP)
7176
public void testVerifyMaterialLightDarkActionBarTheme() {
7277
Digits.getInstance().setTheme(android.R.style.Theme_Material_Light_DarkActionBar);
7378
final Activity activity = getActivity();
@@ -76,6 +81,7 @@ public void testVerifyMaterialLightDarkActionBarTheme() {
7681
}
7782

7883
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.ICE_CREAM_SANDWICH)
84+
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
7985
public void testVerifyHoloDarkTheme() {
8086
Digits.getInstance().setTheme(android.R.style.Theme_Holo);
8187
final Activity activity = getActivity();
@@ -84,6 +90,7 @@ public void testVerifyHoloDarkTheme() {
8490
}
8591

8692
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.ICE_CREAM_SANDWICH)
93+
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
8794
public void testVerifyHoloLightTheme() {
8895
Digits.getInstance().setTheme(android.R.style.Theme_Holo_Light);
8996
final Activity activity = getActivity();
@@ -92,6 +99,7 @@ public void testVerifyHoloLightTheme() {
9299
}
93100

94101
@SdkSuppress(minSdkVersion = Build.VERSION_CODES.ICE_CREAM_SANDWICH)
102+
@TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
95103
public void testVerifyHoloLightDarkActionBarTheme() {
96104
Digits.getInstance().setTheme(android.R.style.Theme_Holo_Light_DarkActionBar);
97105
final Activity activity = getActivity();

0 commit comments

Comments
 (0)