12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- apply plugin: 'com.android.application'
- android {
- compileSdkVersion 26
- buildToolsVersion "26.0.1"
- defaultConfig {
- applicationId "com.wdkl.launch"
- minSdkVersion 16
- targetSdkVersion 26
- versionCode 1
- versionName "1.4"
- testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
- multiDexEnabled true
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets{
- main{
- jniLibs.srcDirs=['libs']
- }
- }
- }
- allprojects {
- repositories {
- jcenter()
- }
- gradle.projectsEvaluated {
- tasks.withType(JavaCompile) {
- options.compilerArgs << '-Xbootclasspath/p:app/src/main/jniLibs/frame.jar'
- }
- }
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- exclude group: 'com.android.support', module: 'support-annotations'
- })
- compile 'com.android.support:appcompat-v7:26.+'
- compile 'com.android.support.constraint:constraint-layout:1.0.2'
- testCompile 'junit:junit:4.12'
- compile 'com.jakewharton:butterknife:7.0.1'
- compile 'com.github.anrwatchdog:anrwatchdog:1.3.+'
- //hongyang okhttp
- compile 'com.zhy:autolayout:1.4.3'
- compile 'com.zhy:okhttputils:2.6.2'
- provided files('src/main/jniLibs/frame.jar')
- }
|