Skip to content

Commit 6b2bfdd

Browse files
committed
upgrade dependencies (gradle plugin 1.5.0, appcompat 23.1.1, build tools 23.0.2, gradle 2.9, android-maven plugin 1.3), remove unnecessary version definitions in manifest, auto generated wrapper files
1 parent 67c4d41 commit 6b2bfdd

7 files changed

Lines changed: 18 additions & 24 deletions

File tree

MPChartExample/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
22

33
android {
44
compileSdkVersion 23
5-
buildToolsVersion '23.0.1'
5+
buildToolsVersion '23.0.2'
66
defaultConfig {
77
minSdkVersion 8
88
targetSdkVersion 23
@@ -38,7 +38,7 @@ buildscript {
3838
jcenter()
3939
}
4040
dependencies {
41-
classpath 'com.android.tools.build:gradle:1.3.1'
41+
classpath 'com.android.tools.build:gradle:1.5.0'
4242

4343
// NOTE: Do not place your application dependencies here; they belong
4444
// in the individual module build.gradle files
@@ -52,6 +52,6 @@ repositories {
5252
dependencies {
5353
//compile fileTree(dir: 'libs', include: ['*.jar'])
5454
compile project(':MPChartLib') // remove this if you only imported the example project
55-
compile 'com.android.support:appcompat-v7:23.0.0'
55+
compile 'com.android.support:appcompat-v7:23.1.1'
5656
//compile 'com.github.PhilJay:MPAndroidChart:v2.1.1'
5757
}

MPChartLib/AndroidManifest.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.github.mikephil.charting"
4-
android:versionCode="1"
5-
android:versionName="1.0" >
6-
7-
<uses-sdk
8-
android:minSdkVersion="8"
9-
android:targetSdkVersion="22" />
2+
<manifest package="com.github.mikephil.charting">
103

114
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
125

MPChartLib/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'android-maven'
2+
apply plugin: 'maven'
3+
apply plugin: 'com.github.dcendents.android-maven'
34

45
android {
56
compileSdkVersion 23
6-
buildToolsVersion '23.0.1'
7+
buildToolsVersion '23.0.2'
78
// resourcePrefix 'mpcht'
89
defaultConfig {
910
minSdkVersion 8

build.gradle

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
task wrapper(type: Wrapper) {
2+
gradleVersion = '2.9'
3+
}
4+
15
buildscript {
26
repositories {
37
jcenter()
48
}
59
dependencies {
6-
classpath 'com.android.tools.build:gradle:1.3.1'
7-
classpath 'com.github.dcendents:android-maven-plugin:1.2'
10+
classpath 'com.android.tools.build:gradle:1.5.0'
11+
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
812
}
913
}
1014

gradle/wrapper/gradle-wrapper.jar

3.65 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Sun Jan 11 01:47:43 CST 2015
1+
#Thu Nov 19 21:53:09 CST 2015
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-2.2.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.9-bin.zip

gradlew

Lines changed: 3 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)