Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Obsolete configuration 'compile', 'testCompile' and 'androidTestCompi… #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.example.android.android_me"
minSdkVersion 16
Expand All @@ -20,10 +19,10 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation fileTree(dir: 'libs', include: ['*.jar'])
androidTestImplementation('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'
implementation 'com.android.support:appcompat-v7:25.1.0'
testImplementation 'junit:junit:4.12'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
package com.example.android.android_me.data;

import com.example.android.android_me.R;

import java.util.ArrayList;
import java.util.List;

/**
* Created by Mayank on 10/12/19 at 3:36 PM
**/
public class AndroidImageAssets {

private static final List<Integer> heads = new ArrayList<Integer>(){{

add(R.drawable.head1);
add(R.drawable.head2);
add(R.drawable.head3);
add(R.drawable.head4);
add(R.drawable.head5);
add(R.drawable.head6);
add(R.drawable.head7);
add(R.drawable.head8);
add(R.drawable.head9);
add(R.drawable.head10);
add(R.drawable.head11);
add(R.drawable.head12);

}};

private static final List<Integer> legs = new ArrayList<Integer>(){{

add(R.drawable.legs1);
add(R.drawable.legs2);
add(R.drawable.legs3);
add(R.drawable.legs4);
add(R.drawable.legs5);
add(R.drawable.legs6);
add(R.drawable.legs7);
add(R.drawable.legs8);
add(R.drawable.legs9);
add(R.drawable.legs10);
add(R.drawable.legs11);
add(R.drawable.legs12);

}};

private static final List<Integer> bodies = new ArrayList<Integer>(){{

add(R.drawable.body1);
add(R.drawable.body2);
add(R.drawable.body3);
add(R.drawable.body4);
add(R.drawable.body5);
add(R.drawable.body6);
add(R.drawable.body7);
add(R.drawable.body8);
add(R.drawable.body9);
add(R.drawable.body10);
add(R.drawable.body11);
add(R.drawable.body12);

}};
}
Binary file added app/src/main/res/drawable-hdpi/body1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/body9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/head9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/legs1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/src/main/res/drawable-hdpi/legs10.png
Binary file added app/src/main/res/drawable-hdpi/legs11.png
Binary file added app/src/main/res/drawable-hdpi/legs12.png
Binary file added app/src/main/res/drawable-hdpi/legs2.png
Binary file added app/src/main/res/drawable-hdpi/legs3.png
Binary file added app/src/main/res/drawable-hdpi/legs4.png
Binary file added app/src/main/res/drawable-hdpi/legs5.png
Binary file added app/src/main/res/drawable-hdpi/legs6.png
Binary file added app/src/main/res/drawable-hdpi/legs7.png
Binary file added app/src/main/res/drawable-hdpi/legs8.png
Binary file added app/src/main/res/drawable-hdpi/legs9.png
Binary file added app/src/main/res/drawable-mdpi/body1.png
Binary file added app/src/main/res/drawable-mdpi/body10.png
Binary file added app/src/main/res/drawable-mdpi/body11.png
Binary file added app/src/main/res/drawable-mdpi/body12.png
Binary file added app/src/main/res/drawable-mdpi/body2.png
Binary file added app/src/main/res/drawable-mdpi/body3.png
Binary file added app/src/main/res/drawable-mdpi/body4.png
Binary file added app/src/main/res/drawable-mdpi/body5.png
Binary file added app/src/main/res/drawable-mdpi/body6.png
Binary file added app/src/main/res/drawable-mdpi/body7.png
Binary file added app/src/main/res/drawable-mdpi/body8.png
Binary file added app/src/main/res/drawable-mdpi/body9.png
Binary file added app/src/main/res/drawable-mdpi/head1.png
Binary file added app/src/main/res/drawable-mdpi/head10.png
Binary file added app/src/main/res/drawable-mdpi/head11.png
Binary file added app/src/main/res/drawable-mdpi/head12.png
Binary file added app/src/main/res/drawable-mdpi/head2.png
Binary file added app/src/main/res/drawable-mdpi/head3.png
Binary file added app/src/main/res/drawable-mdpi/head4.png
Binary file added app/src/main/res/drawable-mdpi/head5.png
Binary file added app/src/main/res/drawable-mdpi/head6.png
Binary file added app/src/main/res/drawable-mdpi/head7.png
Binary file added app/src/main/res/drawable-mdpi/head8.png
Binary file added app/src/main/res/drawable-mdpi/head9.png
Binary file added app/src/main/res/drawable-mdpi/legs1.png
Binary file added app/src/main/res/drawable-mdpi/legs10.png
Binary file added app/src/main/res/drawable-mdpi/legs11.png
Binary file added app/src/main/res/drawable-mdpi/legs12.png
Binary file added app/src/main/res/drawable-mdpi/legs2.png
Binary file added app/src/main/res/drawable-mdpi/legs3.png
Binary file added app/src/main/res/drawable-mdpi/legs4.png
Binary file added app/src/main/res/drawable-mdpi/legs5.png
Binary file added app/src/main/res/drawable-mdpi/legs6.png
Binary file added app/src/main/res/drawable-mdpi/legs7.png
Binary file added app/src/main/res/drawable-mdpi/legs8.png
Binary file added app/src/main/res/drawable-mdpi/legs9.png
Binary file added app/src/main/res/drawable-xhdpi/body1.png
Binary file added app/src/main/res/drawable-xhdpi/body10.png
Binary file added app/src/main/res/drawable-xhdpi/body11.png
Binary file added app/src/main/res/drawable-xhdpi/body12.png
Binary file added app/src/main/res/drawable-xhdpi/body2.png
Binary file added app/src/main/res/drawable-xhdpi/body3.png
Binary file added app/src/main/res/drawable-xhdpi/body4.png
Binary file added app/src/main/res/drawable-xhdpi/body5.png
Binary file added app/src/main/res/drawable-xhdpi/body6.png
Binary file added app/src/main/res/drawable-xhdpi/body7.png
Binary file added app/src/main/res/drawable-xhdpi/body8.png
Binary file added app/src/main/res/drawable-xhdpi/body9.png
Binary file added app/src/main/res/drawable-xhdpi/head1.png
Binary file added app/src/main/res/drawable-xhdpi/head10.png
Binary file added app/src/main/res/drawable-xhdpi/head11.png
Binary file added app/src/main/res/drawable-xhdpi/head12.png
Binary file added app/src/main/res/drawable-xhdpi/head2.png
Binary file added app/src/main/res/drawable-xhdpi/head3.png
Binary file added app/src/main/res/drawable-xhdpi/head4.png
Binary file added app/src/main/res/drawable-xhdpi/head5.png
Binary file added app/src/main/res/drawable-xhdpi/head6.png
Binary file added app/src/main/res/drawable-xhdpi/head7.png
Binary file added app/src/main/res/drawable-xhdpi/head8.png
Binary file added app/src/main/res/drawable-xhdpi/head9.png
Binary file added app/src/main/res/drawable-xhdpi/legs1.png
Binary file added app/src/main/res/drawable-xhdpi/legs10.png
Binary file added app/src/main/res/drawable-xhdpi/legs11.png
Binary file added app/src/main/res/drawable-xhdpi/legs12.png
Binary file added app/src/main/res/drawable-xhdpi/legs2.png
Binary file added app/src/main/res/drawable-xhdpi/legs3.png
Binary file added app/src/main/res/drawable-xhdpi/legs4.png
Binary file added app/src/main/res/drawable-xhdpi/legs5.png
Binary file added app/src/main/res/drawable-xhdpi/legs6.png
Binary file added app/src/main/res/drawable-xhdpi/legs7.png
Binary file added app/src/main/res/drawable-xhdpi/legs8.png
Binary file added app/src/main/res/drawable-xhdpi/legs9.png
Binary file added app/src/main/res/drawable-xxhdpi/body1.png
Binary file added app/src/main/res/drawable-xxhdpi/body10.png
Binary file added app/src/main/res/drawable-xxhdpi/body11.png
Binary file added app/src/main/res/drawable-xxhdpi/body12.png
Binary file added app/src/main/res/drawable-xxhdpi/body2.png
Binary file added app/src/main/res/drawable-xxhdpi/body3.png
Binary file added app/src/main/res/drawable-xxhdpi/body4.png
Binary file added app/src/main/res/drawable-xxhdpi/body5.png
Binary file added app/src/main/res/drawable-xxhdpi/body6.png
Binary file added app/src/main/res/drawable-xxhdpi/body7.png
Binary file added app/src/main/res/drawable-xxhdpi/body8.png
Binary file added app/src/main/res/drawable-xxhdpi/body9.png
Binary file added app/src/main/res/drawable-xxhdpi/head1.png
Binary file added app/src/main/res/drawable-xxhdpi/head10.png
Binary file added app/src/main/res/drawable-xxhdpi/head11.png
Binary file added app/src/main/res/drawable-xxhdpi/head12.png
Binary file added app/src/main/res/drawable-xxhdpi/head2.png
Binary file added app/src/main/res/drawable-xxhdpi/head3.png
Binary file added app/src/main/res/drawable-xxhdpi/head4.png
Binary file added app/src/main/res/drawable-xxhdpi/head5.png
Binary file added app/src/main/res/drawable-xxhdpi/head6.png
Binary file added app/src/main/res/drawable-xxhdpi/head7.png
Binary file added app/src/main/res/drawable-xxhdpi/head8.png
Binary file added app/src/main/res/drawable-xxhdpi/head9.png
Binary file added app/src/main/res/drawable-xxhdpi/legs1.png
Binary file added app/src/main/res/drawable-xxhdpi/legs10.png
Binary file added app/src/main/res/drawable-xxhdpi/legs11.png
Binary file added app/src/main/res/drawable-xxhdpi/legs12.png
Binary file added app/src/main/res/drawable-xxhdpi/legs2.png
Binary file added app/src/main/res/drawable-xxhdpi/legs3.png
Binary file added app/src/main/res/drawable-xxhdpi/legs4.png
Binary file added app/src/main/res/drawable-xxhdpi/legs5.png
Binary file added app/src/main/res/drawable-xxhdpi/legs6.png
Binary file added app/src/main/res/drawable-xxhdpi/legs7.png
Binary file added app/src/main/res/drawable-xxhdpi/legs8.png
Binary file added app/src/main/res/drawable-xxhdpi/legs9.png
Binary file added app/src/main/res/drawable-xxxhdpi/body1.png
Binary file added app/src/main/res/drawable-xxxhdpi/body10.png
Binary file added app/src/main/res/drawable-xxxhdpi/body11.png
Binary file added app/src/main/res/drawable-xxxhdpi/body12.png
Binary file added app/src/main/res/drawable-xxxhdpi/body2.png
Binary file added app/src/main/res/drawable-xxxhdpi/body3.png
Binary file added app/src/main/res/drawable-xxxhdpi/body4.png
Binary file added app/src/main/res/drawable-xxxhdpi/body5.png
Binary file added app/src/main/res/drawable-xxxhdpi/body6.png
Binary file added app/src/main/res/drawable-xxxhdpi/body7.png
Binary file added app/src/main/res/drawable-xxxhdpi/body8.png
Binary file added app/src/main/res/drawable-xxxhdpi/body9.png
Binary file added app/src/main/res/drawable-xxxhdpi/head1.png
Binary file added app/src/main/res/drawable-xxxhdpi/head10.png
Binary file added app/src/main/res/drawable-xxxhdpi/head11.png
Binary file added app/src/main/res/drawable-xxxhdpi/head12.png
Binary file added app/src/main/res/drawable-xxxhdpi/head2.png
Binary file added app/src/main/res/drawable-xxxhdpi/head3.png
Binary file added app/src/main/res/drawable-xxxhdpi/head4.png
Binary file added app/src/main/res/drawable-xxxhdpi/head5.png
Binary file added app/src/main/res/drawable-xxxhdpi/head6.png
Binary file added app/src/main/res/drawable-xxxhdpi/head7.png
Binary file added app/src/main/res/drawable-xxxhdpi/head8.png
Binary file added app/src/main/res/drawable-xxxhdpi/head9.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs1.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs10.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs11.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs12.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs2.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs3.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs4.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs5.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs6.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs7.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs8.png
Binary file added app/src/main/res/drawable-xxxhdpi/legs9.png
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:3.5.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand All @@ -15,6 +16,7 @@ buildscript {
allprojects {
repositories {
jcenter()
google()
}
}

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 @@
#Mon Dec 28 10:00:20 PST 2015
#Sat Oct 12 13:00:25 IST 2019
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip