Skip to content

Commit 7d20409

Browse files
author
TutorialsAndroid
committed
UPDATED DEPENDENCIES AND SUPPORT FOR OLDER VERSIONS ANDROID
1 parent 4efd593 commit 7d20409

File tree

6 files changed

+23
-12
lines changed

6 files changed

+23
-12
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![](https://github.com/TutorialsAndroid/progressx/blob/master/sample/src/main/res/mipmap-xxhdpi/ic_launcher.png)
22

3-
# ProgressX ![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat) [![Known Vulnerabilities](https://snyk.io/test/github/TutorialsAndroid/progressx/badge.svg?targetFile=library%2Fbuild.gradle)](https://snyk.io/test/github/TutorialsAndroid/progressx?targetFile=library%2Fbuild.gradle) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ProgressX-orange.svg?style=flat-square)](https://android-arsenal.com/details/1/7589) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
3+
# ProgressX ![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat) [![Known Vulnerabilities](https://snyk.io/test/github/TutorialsAndroid/progressx/badge.svg?targetFile=library%2Fbuild.gradle)](https://snyk.io/test/github/TutorialsAndroid/progressx?targetFile=library%2Fbuild.gradle) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-ProgressX-orange.svg?style=flat-square)](https://android-arsenal.com/details/1/7589) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
44

55
A material style progress wheel that you can integrate into your app
66

@@ -32,7 +32,7 @@ Add it in your root build.gradle at the end of repositories:
3232
Step 2. Add the dependency
3333

3434
dependencies {
35-
implementation 'com.github.TutorialsAndroid:progressx:v4.0.19'
35+
implementation 'com.github.TutorialsAndroid:progressx:v5.0.19'
3636
}
3737

3838
## Usage

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
jcenter()
55
}
66
dependencies {
7-
classpath 'com.android.tools.build:gradle:3.4.1'
7+
classpath 'com.android.tools.build:gradle:3.6.3'
88
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
99
}
1010
}
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Mon Nov 13 17:16:27 CET 2017
1+
#Sat Jan 20 01:13:22 IRST 2018
22
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-5.1.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

library/build.gradle

+7-3
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,21 @@ android {
77
compileSdkVersion 29
88

99
defaultConfig {
10-
minSdkVersion 21
10+
minSdkVersion 15
1111
targetSdkVersion 29
12-
versionCode 6
13-
versionName "4.0.19"
12+
versionCode 7
13+
versionName "5.0.19"
1414
}
1515
buildTypes {
1616
release {
1717
minifyEnabled false
1818
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1919
}
2020
}
21+
compileOptions {
22+
sourceCompatibility 1.8
23+
targetCompatibility 1.8
24+
}
2125
}
2226

2327
dependencies {

library/src/main/java/com/developer/progressx/ProgressWheel.java

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
import android.util.TypedValue;
1818
import android.view.View;
1919

20+
/**
21+
* @author tkdco , TutorialsAndroid
22+
*/
2023
public class ProgressWheel extends View {
2124
private final int barLength = 16;
2225
/**

sample/build.gradle

+8-4
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,28 @@ android {
55

66
defaultConfig {
77
applicationId "com.developer.progressx.custom"
8-
minSdkVersion 21
8+
minSdkVersion 15
99
targetSdkVersion 29
10-
versionCode 6
11-
versionName "4.0.19"
10+
versionCode 7
11+
versionName "5.0.19"
1212
}
1313
buildTypes {
1414
release {
1515
minifyEnabled false
1616
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1717
}
1818
}
19+
compileOptions {
20+
sourceCompatibility 1.8
21+
targetCompatibility 1.8
22+
}
1923
}
2024

2125
dependencies {
2226
implementation fileTree(dir: 'libs', include: ['*.jar'])
2327

2428
//android support
25-
implementation 'androidx.appcompat:appcompat:1.0.2'
29+
implementation 'androidx.appcompat:appcompat:1.1.0'
2630

2731
//library
2832
implementation project(':library')

0 commit comments

Comments
 (0)