weexteam/weex_devtools_android

View on GitHub
appframework/build.gradle

Summary

Maintainability
Test Coverage
buildscript {
  repositories {
    mavenCentral()
    jcenter()
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:1.2.3'
  }
}
apply plugin: 'com.android.library'

repositories {
  jcenter()
}

android {
  compileSdkVersion 23
  buildToolsVersion "23.0.2"
  resourcePrefix "appframework"

  defaultConfig {
    minSdkVersion 14
    targetSdkVersion 19
    versionCode 1
    versionName "1.0"
  }

  compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_7
    targetCompatibility JavaVersion.VERSION_1_7
  }
  buildTypes {
    release {
      minifyEnabled false
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
  }
}

dependencies {
  compile fileTree(include: ['*.jar'], dir: 'libs')
  provided 'com.android.support:support-v4:23.1.1'
  provided 'com.android.support:appcompat-v7:23.1.1'
  // compile project(':weex_sdk')
  provided 'com.taobao.android:weex_sdk:0.9.5'
  compile 'com.squareup.picasso:picasso:2.5.2'
  compile 'com.facebook.fresco:fresco:0.10.0'
  testCompile 'junit:junit:4.12'
  testCompile 'org.hamcrest:hamcrest-core:1.3'
  testCompile 'org.javassist:javassist:3.20.0-GA'
  testCompile 'org.mockito:mockito-core:1.10.19'
  testCompile 'org.objenesis:objenesis:2.1'
  testCompile 'org.powermock:powermock-core:1.6.4'
  testCompile 'org.powermock:powermock-api-mockito:1.6.4'
  testCompile 'org.powermock:powermock-module-junit4-common:1.6.4'
  testCompile 'org.powermock:powermock-module-junit4:1.6.4'
  testCompile 'org.powermock:powermock-module-junit4-legacy:1.6.4'
  testCompile 'org.powermock:powermock-module-testng:1.6.4'
  testCompile 'org.robolectric:robolectric:3.0-rc3'
}

task wrapper(type: Wrapper) {
  gradleVersion = '2.10'
}