diff options
Diffstat (limited to 'libs/editor/example/build.gradle')
-rw-r--r-- | libs/editor/example/build.gradle | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/libs/editor/example/build.gradle b/libs/editor/example/build.gradle new file mode 100644 index 000000000..d45489a35 --- /dev/null +++ b/libs/editor/example/build.gradle @@ -0,0 +1,56 @@ +buildscript { + repositories { + jcenter() + } + dependencies { + classpath 'com.android.tools.build:gradle:2.2.0' + } +} + +repositories { + jcenter() +} + +apply plugin: 'com.android.application' + +android { + compileSdkVersion 24 + buildToolsVersion "24.0.2" + + defaultConfig { + applicationId "org.wordpress.editorexample" + minSdkVersion 16 + targetSdkVersion 24 + versionCode 1 + versionName "1.0" + } + buildTypes { + release { + minifyEnabled false + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + } + } +} + +dependencies { + compile project(":WordPressEditor"); + + // Test libraries + testCompile 'junit:junit:4.11' + testCompile 'org.mockito:mockito-core:1.10.19' + testCompile 'org.robolectric:robolectric:3.0' + + // Workaround for IDE bug + // http://stackoverflow.com/questions/22246183/android-studio-doesnt-recognize-espresso-classes + provided 'junit:junit:4.11' + provided 'org.mockito:mockito-core:1.10.19' +} + +// +// Testing +// + +android.testOptions.unitTests.all { + include '**/*Test.class' + exclude '**/ApplicationTest.class' +}
\ No newline at end of file |