Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Merge branch 'rallat-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
lfcipriani committed Jan 2, 2015
2 parents 28bc58f + 6e1b307 commit 9c3f3dd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
7 changes: 4 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
repositories {
jcenter()
maven { url "https://maven.fabric.io/repo" }
maven { url 'https://maven.fabric.io/public' }
}

dependencies {
Expand Down Expand Up @@ -41,7 +41,7 @@ android {
buildConfigField "String", "CONSUMER_KEY", "\"${props.getProperty("twitterConsumerKey")}\""
buildConfigField "String", "CONSUMER_SECRET", "\"${props.getProperty("twitterConsumerSecret")}\""
buildConfigField "String", "MOPUB_AD_UNIT_ID", "\"${props.getProperty("mopubAdUnitId")}\""
runProguard false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Expand All @@ -51,11 +51,12 @@ android {
repositories {
jcenter()
maven { url "https://maven.fabric.io/repo" }
maven { url 'https://maven.fabric.io/public' }
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile('com.twitter.sdk.android:twitter:1.0.0@aar') {
compile('com.twitter.sdk.android:twitter:1.1.1@aar') {
transitive = true
}
compile('com.mopub.sdk.android:mopub:3.1.0@aar') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public void failure(TwitterException exception) {

private void setUpDigitsButton() {
phoneButton = (DigitsAuthButton) findViewById(R.id.phone_button);
phoneButton.setAuthTheme(R.style.AppTheme);
phoneButton.setCallback(new AuthCallback() {
@Override
public void success(DigitsSession digitsSession, String phoneNumber) {
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowBackground">@color/background_beige</item>
<item name="dgts__accentColor">@color/green</item>
<item name="android:textColorPrimary">@color/green</item>
</style>

<style name="AboutTheme" parent="android:style/Theme.NoTitleBar.Fullscreen">
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.13.+'
classpath 'com.android.tools.build:gradle:1.0.0-rc4'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Oct 17 12:54:49 PDT 2014
#Tue Dec 23 21:39:09 CET 2014
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip

0 comments on commit 9c3f3dd

Please sign in to comment.