Skip to content

Commit

Permalink
fragment v4 add
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel163 committed Jan 8, 2017
1 parent 317e87f commit e0ca49c
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 33 deletions.
6 changes: 1 addition & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ android {
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
Expand All @@ -21,10 +20,7 @@ android {

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'
})
compile 'com.android.support:appcompat-v7:25.1.0'

testCompile 'junit:junit:4.12'
compile project(':google')
compile project(':instagram')
Expand Down
6 changes: 0 additions & 6 deletions facebook/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ android {
targetSdkVersion 25
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
Expand All @@ -27,9 +24,6 @@ android {

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 'com.facebook.android:facebook-android-sdk:4.+'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.ebr163.socialauth.facebook;

import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;

import com.ebr163.socialauth.facebook.model.FacebookProfile;
import com.ebr163.socialauth.facebook.model.Location;
Expand Down
6 changes: 0 additions & 6 deletions google/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ android {
targetSdkVersion 25
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
Expand All @@ -23,9 +20,6 @@ android {

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 "com.google.android.gms:play-services-auth:$GOOGLE_PLAY_SERVICE_VERSION"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package com.ebr163.socialauth.google;

import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentActivity;
import android.util.Log;

Expand Down
8 changes: 2 additions & 6 deletions instagram/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ android {
targetSdkVersion 25
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
Expand All @@ -23,10 +20,9 @@ android {

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 "com.android.support:appcompat-v7:$SUPPORT_LIBRARY_VERSION"

compile 'com.squareup.retrofit2:retrofit:2.1.0'
compile 'com.squareup.retrofit2:converter-gson:2.1.0'
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.ebr163.socialauth.instagram;

import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;

import com.ebr163.socialauth.instagram.model.InstagramProfile;
import com.ebr163.socialauth.instagram.model.InstagramResponse;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.ebr163.socialauth.instagram.utils;

import android.app.Activity;
import android.app.Fragment;
import android.content.Context;
import android.content.Intent;
import android.support.v4.app.Fragment;

import com.ebr163.socialauth.instagram.InstagramAuthActivity;
import com.ebr163.socialauth.instagram.rest.InstagramConfig;
Expand Down
6 changes: 0 additions & 6 deletions vk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ android {
targetSdkVersion 25
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
Expand All @@ -23,9 +20,6 @@ android {

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 "com.vk:androidsdk:$VK_SDK_VERSION"
Expand Down

0 comments on commit e0ca49c

Please sign in to comment.