Android 模拟点击工具

build.gradle 870B

123456789101112131415161718192021222324252627282930313233
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 24
  4. buildToolsVersion "24.0.3"
  5. defaultConfig {
  6. minSdkVersion 17
  7. targetSdkVersion 24
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. }
  19. dependencies {
  20. compile fileTree(include: ['*.jar'], dir: 'libs')
  21. androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
  22. exclude group: 'com.android.support', module: 'support-annotations'
  23. })
  24. compile 'com.android.support:appcompat-v7:24.2.1'
  25. testCompile 'junit:junit:4.12'
  26. compile 'com.squareup.okhttp3:okhttp:3.5.0'
  27. }