Skip to content

Commit

Permalink
Updated gradle plugin and libraries, raised version
Browse files Browse the repository at this point in the history
  • Loading branch information
ElishaAz committed Feb 28, 2022
1 parent 70b3570 commit d84a303
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 18 deletions.
26 changes: 13 additions & 13 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ plugins {
}

android {
compileSdk 30
compileSdk 31

defaultConfig {
applicationId "com.elishaazaria.advancedactivitychooser"
minSdk 24
targetSdk 30
versionCode 1
versionName "1.0"
targetSdk 31
versionCode 2
versionName "v1.0.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
Expand All @@ -32,14 +32,14 @@ android {

dependencies {

implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.3.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1'
implementation 'androidx.navigation:navigation-fragment:2.3.5'
implementation 'androidx.navigation:navigation-ui:2.3.5'
implementation 'androidx.preference:preference:1.1.1'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.4.1'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.1'
implementation 'androidx.navigation:navigation-fragment:2.4.1'
implementation 'androidx.navigation:navigation-ui:2.4.1'
implementation 'androidx.preference:preference:1.2.0'
testImplementation 'junit:junit:4.+'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
android:excludeFromRecents="true"
android:exported="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/Theme.AdvancedActivityChooser.Dialog" />

<activity-alias
Expand Down Expand Up @@ -63,7 +62,8 @@

<activity-alias
android:name="web_browser"
android:targetActivity=".dialog.DialogActivity">
android:targetActivity=".dialog.DialogActivity"
android:exported="true">

<!-- Links -->
<!-- <intent-filter> -->
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/drawable/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
android:viewportHeight="100">

<path
android:fillColor="#000000"
android:fillColor="@color/color"
android:pathData="M82,100V65c0,0 0.021,-2 -2,-2H20c0,0 -2.008,-0.042 -2,2 0.015,3.744 0,35 0,35h1V65c0.05,-0.983 1,-1 1,-1h60c0.169,0.017 0.962,0.017 1,1v35z"
android:strokeWidth="0.26458332"
android:strokeColor="#000000"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="color">#FFFFFF</color>
<color name="colorPrimary">#FFBB86FC</color>
<color name="colorPrimaryVariant">#FF3700B3</color>
<color name="colorOnPrimary">#FF000000</color>
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="color">#000000</color>
<color name="colorPrimary">#FF6200EE</color>
<color name="colorPrimaryVariant">#FF3700B3</color>
<color name="colorOnPrimary">#FFFFFFFF</color>
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 {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.2"
classpath 'com.android.tools.build:gradle:7.1.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Sep 02 18:01:18 IDT 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

0 comments on commit d84a303

Please sign in to comment.