Skip to content

Commit f52c3ce

Browse files
committed
Update example build.gradle
1 parent 1b1f639 commit f52c3ce

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

MPChartExample/build.gradle

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ android {
66
defaultConfig {
77
minSdkVersion 16
88
targetSdkVersion 21
9-
versionCode 34
10-
versionName '2.0.2'
9+
versionCode 33
10+
versionName '2.0.1'
1111

1212
sourceSets {
1313
main {
@@ -31,11 +31,26 @@ android {
3131
lintOptions {
3232
abortOnError false
3333
}
34+
}
35+
36+
buildscript {
37+
repositories {
38+
jcenter()
39+
}
40+
dependencies {
41+
classpath 'com.android.tools.build:gradle:1.1.0'
42+
43+
// NOTE: Do not place your application dependencies here; they belong
44+
// in the individual module build.gradle files
45+
}
46+
}
3447

48+
repositories {
49+
maven { url "https://jitpack.io" }
3550
}
3651

3752
dependencies {
3853
//compile fileTree(dir: 'libs', include: ['*.jar'])
39-
compile 'com.android.support:support-v4:19.+'
40-
compile project(':MPChartLib')
54+
compile 'com.android.support:appcompat-v7:21.0.3'
55+
compile 'com.github.PhilJay:MPAndroidChart:v2.0.3'
4156
}
-536 KB
Binary file not shown.

MPChartExample/project.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212

1313
# Project target.
1414
target=android-19
15+
android.library.reference.1=../MPChartLib

0 commit comments

Comments
 (0)