Skip to content

Commit 73ff64d

Browse files
committed
Update dependencies and constants
1 parent 4bc3265 commit 73ff64d

File tree

6 files changed

+20
-18
lines changed

6 files changed

+20
-18
lines changed

app/build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
apply plugin: 'com.android.application'
22

33
android {
4-
compileSdkVersion 28
5-
buildToolsVersion '28.0.3'
4+
compileSdkVersion 29
5+
buildToolsVersion '29.0.3'
66

77
defaultConfig {
88
applicationId "com.turingtechnologies.materialscrollbardemo"
99
minSdkVersion 14
10-
targetSdkVersion 28
11-
versionCode 6
12-
versionName "6.0"
10+
targetSdkVersion 29
11+
versionCode 7
12+
versionName "7.0"
1313
}
1414
buildTypes {
1515
release {
@@ -25,8 +25,8 @@ android {
2525

2626
dependencies {
2727
implementation project(':lib')
28-
implementation "androidx.recyclerview:recyclerview:1.0.0"
28+
implementation 'androidx.recyclerview:recyclerview:1.1.0'
2929
implementation 'com.pnikosis:materialish-progress:1.7'
30-
implementation "com.google.android.material:material:1.0.0"
31-
implementation "androidx.appcompat:appcompat:1.0.2"
30+
implementation 'com.google.android.material:material:1.1.0'
31+
implementation 'androidx.appcompat:appcompat:1.1.0'
3232
}

app/src/main/java/com/turingtechnologies/materialscrollbardemo/AppData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static void processApps(final AppCompatActivity activity) {
2626
return;
2727
}
2828
//noinspection WrongConstant
29-
pkgAppsList = activity.getPackageManager().getInstalledApplications(PackageManager.GET_ACTIVITIES);
29+
pkgAppsList = activity.getPackageManager().getInstalledApplications(PackageManager.GET_META_DATA);
3030
for(int i = 0; i < pkgAppsList.size(); i++) {
3131
if(activity.getPackageManager().getLaunchIntentForPackage(pkgAppsList.get(i).packageName) == null || (!BuildConfig.DEBUG && pkgAppsList.get(i).packageName.contains(AppData.class.getPackage().getName()))) {
3232
pkgAppsList.remove(i);

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
}
1010
dependencies {
1111
classpath 'com.github.ben-manes:gradle-versions-plugin:0.15.0'
12-
classpath 'com.android.tools.build:gradle:3.2.1'
12+
classpath 'com.android.tools.build:gradle:4.0.0-beta05'
1313
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1414

1515
// NOTE: Do not place your application dependencies here; they belong

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-all.zip

lib/build.gradle

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
apply plugin: 'com.android.library'
22
//apply plugin: 'kotlin-android'
33

4-
def libVersion = '13.3.2'
4+
def libVersion = '13.3.3'
55

66
android {
7-
compileSdkVersion 28
8-
buildToolsVersion '28.0.3'
7+
compileSdkVersion 29
8+
buildToolsVersion '29.0.3'
99

1010
defaultConfig {
1111
minSdkVersion 14
12-
targetSdkVersion 28
12+
targetSdkVersion 29
1313
versionName libVersion
1414
}
1515
compileOptions {
@@ -43,8 +43,9 @@ artifacts {
4343
}
4444

4545
dependencies {
46-
implementation "androidx.recyclerview:recyclerview:1.0.0"
47-
implementation "com.google.android.material:material:1.0.0"
46+
implementation 'androidx.recyclerview:recyclerview:1.1.0'
47+
implementation 'com.google.android.material:material:1.1.0'
48+
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0'
4849
// compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
4950
}
5051
repositories {

lib/gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
POM_NAME=Material Scroll Bar
22
POM_ARTIFACT_ID=materialScrollBar
3-
POM_PACKAGING=aar
3+
POM_PACKAGING=aar
4+
android.useAndroidX=true

0 commit comments

Comments
 (0)