Skip to content

Commit

Permalink
- Updated the dependencies
Browse files Browse the repository at this point in the history
- Updated the gradle version
- Updated the targetSdkVersion version
  • Loading branch information
Shashank02051997 committed Jul 28, 2022
1 parent 1788be3 commit a445c6f
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 23 deletions.
8 changes: 5 additions & 3 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 33
compileSdkVersion 31
defaultConfig {
applicationId "com.shashank.sony.fancywalkthroughlibrary"
minSdkVersion 19
targetSdkVersion 33
targetSdkVersion 31
versionCode 1
versionName "1.0"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ protected void onCreate(Bundle savedInstanceState) {
FancyWalkthroughCard fancywalkthroughCard4 = new FancyWalkthroughCard("Meal is on the way", "Get ready and comfortable while our biker bring your meal at your door.", R.drawable.mealisonway);

fancywalkthroughCard1.setBackgroundColor(R.color.white);
fancywalkthroughCard1.setIconLayoutParams(300, 300, 0, 0, 0, 0);
fancywalkthroughCard1.setIconLayoutParams(800, 800, 0, 0, 0, 0);
fancywalkthroughCard1.setDisplaySkip(true);
fancywalkthroughCard2.setBackgroundColor(R.color.white);
fancywalkthroughCard2.setIconLayoutParams(300, 300, 0, 0, 0, 0);
fancywalkthroughCard2.setIconLayoutParams(800, 800, 0, 0, 0, 0);
fancywalkthroughCard2.setDisplaySkip(true);
fancywalkthroughCard3.setBackgroundColor(R.color.white);
fancywalkthroughCard3.setIconLayoutParams(300, 300, 0, 0, 0, 0);
fancywalkthroughCard3.setIconLayoutParams(800, 800, 0, 0, 0, 0);
fancywalkthroughCard3.setDisplaySkip(true);
fancywalkthroughCard4.setBackgroundColor(R.color.white);
fancywalkthroughCard4.setIconLayoutParams(300, 300, 0, 0, 0, 0);
fancywalkthroughCard4.setIconLayoutParams(800, 800, 0, 0, 0, 0);
fancywalkthroughCard4.setDisplaySkip(true);
List<FancyWalkthroughCard> pages = new ArrayList<>();

Expand Down
7 changes: 1 addition & 6 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {

repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
classpath 'com.android.tools.build:gradle:7.0.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

Expand Down
7 changes: 2 additions & 5 deletions fancywalkthroughlib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@ apply plugin: 'com.android.library'
group='com.github.Shashank02051997'

android {
compileSdkVersion 33



compileSdkVersion 31
defaultConfig {
minSdkVersion 19
targetSdkVersion 33
targetSdkVersion 31

testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

Expand Down
2 changes: 1 addition & 1 deletion fancywalkthroughlib/src/main/res/layout/fragment_ahoy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
android:layout_height="250dp"
android:layout_gravity="bottom"
android:alpha="0.6"
android:background="@drawable/shape"></View>
android:background="@drawable/shape" />

<androidx.cardview.widget.CardView
android:id="@+id/cv_cardview"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
android.enableJetifier=true
android.useAndroidX=true
org.gradle.jvmargs=-Xmx1536m
android.suppressUnsupportedCompileSdk=33
android.suppressUnsupportedCompileSdk=31

# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit a445c6f

Please sign in to comment.