| apply plugin: 'com.android.application' |
| |
| android { |
| compileSdkVersion 21 |
| buildToolsVersion '21.1.1' |
| defaultConfig { |
| minSdkVersion 16 |
| targetSdkVersion 21 |
| versionCode 36 |
| versionName '2.1.1' |
| |
| sourceSets { |
| main { |
| java.srcDirs = ['src'] |
| res.srcDirs = ['res'] |
| assets.srcDirs = ['assets'] |
| manifest.srcFile 'AndroidManifest.xml' |
| } |
| } |
| } |
| |
| buildTypes { |
| |
| release { |
| minifyEnabled false |
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
| } |
| |
| } |
| |
| lintOptions { |
| abortOnError false |
| } |
| } |
| |
| buildscript { |
| repositories { |
| jcenter() |
| } |
| dependencies { |
| classpath 'com.android.tools.build:gradle:1.1.0' |
| |
| // NOTE: Do not place your application dependencies here; they belong |
| // in the individual module build.gradle files |
| } |
| } |
| |
| repositories { |
| maven { url "https://jitpack.io" } |
| } |
| |
| dependencies { |
| //compile fileTree(dir: 'libs', include: ['*.jar']) |
| compile project(':MPChartLib') // remove this if you only imported the example project |
| compile 'com.android.support:appcompat-v7:21.0.3' |
| //compile 'com.github.PhilJay:MPAndroidChart:v2.1.1' |
| } |